lnwallet: use ResetState instead of tweaking private rows

This commit is contained in:
Keagan McClelland 2024-02-01 08:08:00 -08:00
parent 606f8e79d1
commit 3a02f2ba65

View file

@ -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) {