From c51f6352c302479b184aab3f7df6d833dd013717 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Wed, 4 Apr 2018 08:57:55 +0200 Subject: [PATCH] channeldb test: rename ForceClose->RemoteForceClose --- channeldb/channel_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channeldb/channel_test.go b/channeldb/channel_test.go index 66e9e597..cb734b8d 100644 --- a/channeldb/channel_test.go +++ b/channeldb/channel_test.go @@ -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 {