multi: rename chan DB Open method to OpenForTesting
This commit is contained in:
24 files changed
+101
-331
No files matched your search
@@ -2169,7 +2169,7 @@ func newSingleLinkTestHarness(t *testing.T, chanAmt,
|
||||
BaseFee: lnwire.NewMSatFromSatoshis(1),
|
||||
TimeLockDelta: 6,
|
||||
}
|
||||
invoiceRegistry = newMockRegistry(globalPolicy.TimeLockDelta)
|
||||
invoiceRegistry = newMockRegistry(t)
|
||||
)
|
||||
|
||||
pCache := newMockPreimageCache()
|
||||
@@ -2267,7 +2267,6 @@ func newSingleLinkTestHarness(t *testing.T, chanAmt,
|
||||
|
||||
t.Cleanup(func() {
|
||||
close(alicePeer.quit)
|
||||
invoiceRegistry.cleanup()
|
||||
})
|
||||
|
||||
harness := singleLinkTestHarness{
|
||||
|
||||
Reference in new issue
Block a user