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:
1 parent
2d3253b95d
commit
266c121510
6 files changed
+58
-44
No files matched your search
@@ -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