From e7e546af9abe5c7c8ac656cebe0f7a132a9eac30 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 21 Dec 2015 15:49:57 -0600 Subject: [PATCH] lnwallet/reservation: fundingLockTime is int64 track their revoke hash --- lnwallet/reservation.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lnwallet/reservation.go b/lnwallet/reservation.go index 014b339f..be281c99 100644 --- a/lnwallet/reservation.go +++ b/lnwallet/reservation.go @@ -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