itest: RegisterSpendNtfn detects reorgs
Added itest "reorg_notifications" which tests that RegisterSpendNtfn behaves as expected during a reorg. A reorg notification is produced after a reorg affects the block which has produced a spending notification for this registration.
This commit is contained in:
2 files changed
+206
No files matched your search
@@ -46,6 +46,10 @@ var allTestCases = []*lntest.TestCase{
|
||||
Name: "send selected coins channel reserve",
|
||||
TestFunc: testSendSelectedCoinsChannelReserve,
|
||||
},
|
||||
{
|
||||
Name: "reorg notifications",
|
||||
TestFunc: testReorgNotifications,
|
||||
},
|
||||
{
|
||||
Name: "disconnecting target peer",
|
||||
TestFunc: testDisconnectingTargetPeer,
|
||||
|
||||
Reference in new issue
Block a user