mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 17:55:36 +01:00
lnwallet: use ResetState instead of tweaking private rows
This commit is contained in:
parent
606f8e79d1
commit
3a02f2ba65
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue