mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-25 13:37:47 +01:00
test: properly set new HtlcBasePoint in createTestPeer
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user