Skip to content

Commit

Permalink
[temp] - lnwallet: channel rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Roasbeef committed May 12, 2023
1 parent 63c09eb commit 4a43a07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lnwallet/channel.go
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion lnwallet/channel_test.go
Expand Up @@ -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")
Expand Down

0 comments on commit 4a43a07

Please sign in to comment.