From 2882db42f570b9c21fde2054b8b4cb1b9fa11556 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 19 Jan 2023 19:54:35 -0800 Subject: [PATCH] [temp] - lnwallet: channel rebase fix --- lnwallet/channel.go | 1 + lnwallet/channel_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lnwallet/channel.go b/lnwallet/channel.go index 01a5eaabd6..00461b771c 100644 --- a/lnwallet/channel.go +++ b/lnwallet/channel.go @@ -26,6 +26,7 @@ import ( "github.com/lightningnetwork/lnd/channeldb" "github.com/lightningnetwork/lnd/channeldb/models" "github.com/lightningnetwork/lnd/input" + "github.com/lightningnetwork/lnd/keychain" "github.com/lightningnetwork/lnd/lnwallet/chainfee" "github.com/lightningnetwork/lnd/lnwire" "github.com/lightningnetwork/lnd/shachain" diff --git a/lnwallet/channel_test.go b/lnwallet/channel_test.go index a63dfab221..7d358074d6 100644 --- a/lnwallet/channel_test.go +++ b/lnwallet/channel_test.go @@ -3626,7 +3626,7 @@ func TestChanSyncOweRevocationAndCommit(t *testing.T) { require.NoError(t, err, "alice unable to recv revocation") err = aliceChannel.ReceiveNewCommitment(bobNewCommit.CommitSigs) require.NoError(t, err, "alice unable to recv bob's commitment") - aliceRevocation, _, err := aliceChannel.RevokeCurrentCommitment() + aliceRevocation, _, _, err := aliceChannel.RevokeCurrentCommitment() require.NoError(t, err, "alice unable to revoke commitment") _, _, _, _, err = bobChannel.ReceiveRevocation(aliceRevocation) require.NoError(t, err, "bob unable to recv revocation")