htlcswitch: properly set HtlcBasePoint in createTestChannel
This commit is contained in:
parent
e874922286
commit
b31e94573b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user