mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-18 10:06:51 +01:00
lnwallet: use ResetState instead of tweaking private rows
This commit is contained in:
@@ -2147,8 +2147,8 @@ func TestCooperativeCloseDustAdherence(t *testing.T) {
|
||||
}
|
||||
|
||||
resetChannelState := func() {
|
||||
aliceChannel.isClosed = false
|
||||
bobChannel.isClosed = false
|
||||
aliceChannel.ResetState()
|
||||
bobChannel.ResetState()
|
||||
}
|
||||
|
||||
setBalances := func(aliceBalance, bobBalance lnwire.MilliSatoshi) {
|
||||
|
||||
Reference in New Issue
Block a user