test: factor in current chain during revoked close integration test
The recent multi-chain features resulted in a new directory structure that wasn’t properly observed by the integration tests. This commit fixes a prior bug that wouldn’t allow the test to copy the prior revoked channels to the current state.
This commit is contained in:
parent
b89a39d341
commit
7d02eedef2
@ -1536,7 +1536,7 @@ func testRevokedCloseRetribution(net *networkHarness, t *harnessTest) {
|
||||
// With the temporary file created, copy Bob's current state into the
|
||||
// temporary file we created above. Later after more updates, we'll
|
||||
// restore this state.
|
||||
bobDbPath := filepath.Join(net.Bob.cfg.DataDir, "simnet/channel.db")
|
||||
bobDbPath := filepath.Join(net.Bob.cfg.DataDir, "simnet/bitcoin/channel.db")
|
||||
if err := copyFile(bobTempDbFile, bobDbPath); err != nil {
|
||||
t.Fatalf("unable to copy database files: %v", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user