From b31e94573b5897b2ab8c715a143119a5d7f37ac6 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 16 Nov 2017 19:48:55 -0800 Subject: [PATCH] htlcswitch: properly set HtlcBasePoint in createTestChannel --- htlcswitch/test_utils.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htlcswitch/test_utils.go b/htlcswitch/test_utils.go index e700d0ee8..fb9ac7409 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)