mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 17:51:33 +02:00
Changed type in Accept/Complete & lnwire refactor
* FundingSignAccept and FundingSingComplete had *[]btcec.Signature and instead it's now []*btcec.Signature to match other slice types. * Refactored lnwire's when doing readElement/writeElement on slices
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
2d3253b95d
commit
266c121510
@@ -67,7 +67,7 @@ var (
|
||||
sigStr2, _ = txscript.RawTxInSignature(tx, 0, *emptybytes, txscript.SigHashAll, sig2privKey)
|
||||
commitSig2, _ = btcec.ParseSignature(sigStr2, btcec.S256())
|
||||
//Slice of Funding TX Sigs
|
||||
fundingTXSigs = append(*new([]btcec.Signature), *commitSig1, *commitSig2)
|
||||
ptrFundingTXSigs = append(*new([]*btcec.Signature), commitSig1, commitSig2)
|
||||
|
||||
//TxID
|
||||
txid = new(wire.ShaHash)
|
||||
|
Reference in New Issue
Block a user