lnwallet/reservation: fundingLockTime is int64 track their revoke hash

This commit is contained in:
Olaoluwa Osuntokun 2015-12-21 15:49:57 -06:00
parent d7d569b267
commit e7e546af9a

@ -13,7 +13,7 @@ type ChannelReservation struct {
sync.RWMutex // All fields below owned by the lnwallet.
//for CLTV it is nLockTime, for CSV it's nSequence, for segwit it's not needed
fundingLockTime uint32
fundingLockTime int64
fundingAmount btcutil.Amount
//Current state of the channel, progesses through until complete
@ -34,6 +34,7 @@ type ChannelReservation struct {
ourFundingSigs [][]byte
theirFundingSigs [][]byte
ourRevokeHash [wire.HashSize]byte
ourCommitmentSig []byte
partialState *OpenChannelState