From e874922286fd02663cdb38a173f3ad4d07f6844b Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 16 Nov 2017 19:48:03 -0800 Subject: [PATCH] test: properly set new HtlcBasePoint in createTestPeer --- test_utils.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test_utils.go b/test_utils.go index 73f8142a..c172d950 100644 --- a/test_utils.go +++ b/test_utils.go @@ -83,6 +83,7 @@ func createTestPeer(notifier chainntnfs.ChainNotifier, RevocationBasePoint: aliceKeyPub, PaymentBasePoint: aliceKeyPub, DelayBasePoint: aliceKeyPub, + HtlcBasePoint: aliceKeyPub, } bobCfg := channeldb.ChannelConfig{ ChannelConstraints: channeldb.ChannelConstraints{ @@ -97,6 +98,7 @@ func createTestPeer(notifier chainntnfs.ChainNotifier, RevocationBasePoint: bobKeyPub, PaymentBasePoint: bobKeyPub, DelayBasePoint: bobKeyPub, + HtlcBasePoint: bobKeyPub, } bobRoot := lnwallet.DeriveRevocationRoot(bobKeyPriv, testHdSeed, aliceKeyPub)