lnwire: use [6]byte obsfucator

This commit is contained in:
Christopher Jämthagen authored and Olaoluwa Osuntokun committed 2017-02-22 15:46:59 -08:00
1 parent 873211c02f
commit 3983e0693b
1 file changed
+2 -2
+2 -2
View File
@@ -41,14 +41,14 @@ type SingleFundingComplete struct {
// the commitment transaction's only input. The initiator generates // the commitment transaction's only input. The initiator generates
// this value by hashing the 0th' state derived from the revocation PRF // this value by hashing the 0th' state derived from the revocation PRF
// an additional time. // an additional time.
StateHintObsfucator [4]byte StateHintObsfucator [6]byte
} }
// NewSingleFundingComplete creates, and returns a new empty // NewSingleFundingComplete creates, and returns a new empty
// SingleFundingResponse. // SingleFundingResponse.
func NewSingleFundingComplete(chanID uint64, fundingPoint wire.OutPoint, func NewSingleFundingComplete(chanID uint64, fundingPoint wire.OutPoint,
commitSig *btcec.Signature, revokeKey *btcec.PublicKey, commitSig *btcec.Signature, revokeKey *btcec.PublicKey,
obsfucator [4]byte) *SingleFundingComplete { obsfucator [6]byte) *SingleFundingComplete {
return &SingleFundingComplete{ return &SingleFundingComplete{
ChannelID: chanID, ChannelID: chanID,