lnwallet: use ResetState instead of tweaking private rows

This commit is contained in:
Keagan McClelland committed 2024-02-02 11:46:32 -08:00
1 parent 606f8e79d1
commit 3a02f2ba65
1 file changed
+2 -2
+2 -2
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) {