diff --git a/htlcswitch/test_utils.go b/htlcswitch/test_utils.go index e700d0ee..fb9ac740 100644 --- a/htlcswitch/test_utils.go +++ b/htlcswitch/test_utils.go @@ -122,6 +122,7 @@ func createTestChannel(alicePrivKey, bobPrivKey []byte, RevocationBasePoint: aliceKeyPub, PaymentBasePoint: aliceKeyPub, DelayBasePoint: aliceKeyPub, + HtlcBasePoint: aliceKeyPub, } bobCfg := channeldb.ChannelConfig{ ChannelConstraints: channeldb.ChannelConstraints{ @@ -132,6 +133,7 @@ func createTestChannel(alicePrivKey, bobPrivKey []byte, RevocationBasePoint: bobKeyPub, PaymentBasePoint: bobKeyPub, DelayBasePoint: bobKeyPub, + HtlcBasePoint: bobKeyPub, } bobRoot := lnwallet.DeriveRevocationRoot(bobKeyPriv, hash, aliceKeyPub)