lnwallet: use ResetState instead of tweaking private rows
This commit is contained in:
1 parent
606f8e79d1
commit
3a02f2ba65
1 file changed
+2
-2
@@ -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