mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-19 10:37:23 +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() {
|
resetChannelState := func() {
|
||||||
aliceChannel.isClosed = false
|
aliceChannel.ResetState()
|
||||||
bobChannel.isClosed = false
|
bobChannel.ResetState()
|
||||||
}
|
}
|
||||||
|
|
||||||
setBalances := func(aliceBalance, bobBalance lnwire.MilliSatoshi) {
|
setBalances := func(aliceBalance, bobBalance lnwire.MilliSatoshi) {
|
||||||
|
|||||||
Reference in New Issue
Block a user