mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
channeldb test: rename ForceClose->RemoteForceClose
This commit is contained in:
parent
cde862e7e0
commit
c51f6352c3
1 changed files with 2 additions and 2 deletions
|
@ -606,7 +606,7 @@ func TestChannelStateTransition(t *testing.T) {
|
|||
SettledBalance: btcutil.Amount(500),
|
||||
TimeLockedBalance: btcutil.Amount(10000),
|
||||
IsPending: false,
|
||||
CloseType: ForceClose,
|
||||
CloseType: RemoteForceClose,
|
||||
}
|
||||
if err := updatedChannel[0].CloseChannel(closeSummary); err != nil {
|
||||
t.Fatalf("unable to delete updated channel: %v", err)
|
||||
|
@ -770,7 +770,7 @@ func TestFetchClosedChannels(t *testing.T) {
|
|||
Capacity: state.Capacity,
|
||||
SettledBalance: state.LocalCommitment.LocalBalance.ToSatoshis(),
|
||||
TimeLockedBalance: state.RemoteCommitment.LocalBalance.ToSatoshis() + 10000,
|
||||
CloseType: ForceClose,
|
||||
CloseType: RemoteForceClose,
|
||||
IsPending: true,
|
||||
}
|
||||
if err := state.CloseChannel(summary); err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue