Skip to content

Commit 4a43a07

Browse files
committed
[temp] - lnwallet: channel rebase fix
1 parent 63c09eb commit 4a43a07

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lnwallet/channel.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import (
2626
"github.com/lightningnetwork/lnd/channeldb"
2727
"github.com/lightningnetwork/lnd/channeldb/models"
2828
"github.com/lightningnetwork/lnd/input"
29+
"github.com/lightningnetwork/lnd/keychain"
2930
"github.com/lightningnetwork/lnd/lnwallet/chainfee"
3031
"github.com/lightningnetwork/lnd/lnwire"
3132
"github.com/lightningnetwork/lnd/shachain"

lnwallet/channel_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3626,7 +3626,7 @@ func TestChanSyncOweRevocationAndCommit(t *testing.T) {
36263626
require.NoError(t, err, "alice unable to recv revocation")
36273627
err = aliceChannel.ReceiveNewCommitment(bobNewCommit.CommitSigs)
36283628
require.NoError(t, err, "alice unable to recv bob's commitment")
3629-
aliceRevocation, _, err := aliceChannel.RevokeCurrentCommitment()
3629+
aliceRevocation, _, _, err := aliceChannel.RevokeCurrentCommitment()
36303630
require.NoError(t, err, "alice unable to revoke commitment")
36313631
_, _, _, _, err = bobChannel.ReceiveRevocation(aliceRevocation)
36323632
require.NoError(t, err, "bob unable to recv revocation")

0 commit comments

Comments
 (0)