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,
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user