test: properly set new HtlcBasePoint in createTestPeer
This commit is contained in:
parent
6afebfba5d
commit
e874922286
@ -83,6 +83,7 @@ func createTestPeer(notifier chainntnfs.ChainNotifier,
|
|||||||
RevocationBasePoint: aliceKeyPub,
|
RevocationBasePoint: aliceKeyPub,
|
||||||
PaymentBasePoint: aliceKeyPub,
|
PaymentBasePoint: aliceKeyPub,
|
||||||
DelayBasePoint: aliceKeyPub,
|
DelayBasePoint: aliceKeyPub,
|
||||||
|
HtlcBasePoint: aliceKeyPub,
|
||||||
}
|
}
|
||||||
bobCfg := channeldb.ChannelConfig{
|
bobCfg := channeldb.ChannelConfig{
|
||||||
ChannelConstraints: channeldb.ChannelConstraints{
|
ChannelConstraints: channeldb.ChannelConstraints{
|
||||||
@ -97,6 +98,7 @@ func createTestPeer(notifier chainntnfs.ChainNotifier,
|
|||||||
RevocationBasePoint: bobKeyPub,
|
RevocationBasePoint: bobKeyPub,
|
||||||
PaymentBasePoint: bobKeyPub,
|
PaymentBasePoint: bobKeyPub,
|
||||||
DelayBasePoint: bobKeyPub,
|
DelayBasePoint: bobKeyPub,
|
||||||
|
HtlcBasePoint: bobKeyPub,
|
||||||
}
|
}
|
||||||
|
|
||||||
bobRoot := lnwallet.DeriveRevocationRoot(bobKeyPriv, testHdSeed, aliceKeyPub)
|
bobRoot := lnwallet.DeriveRevocationRoot(bobKeyPriv, testHdSeed, aliceKeyPub)
|
||||||
|
Loading…
Reference in New Issue
Block a user