mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-23 14:40:44 +01:00
wire/msgtx: use writeTxInBuf in txn encoding
This commit is contained in:
parent
d43d9d57a9
commit
4829ff793b
1 changed files with 1 additions and 1 deletions
|
@ -777,7 +777,7 @@ func (msg *MsgTx) btcEncode(w io.Writer, pver uint32, enc MessageEncoding,
|
|||
}
|
||||
|
||||
for _, ti := range msg.TxIn {
|
||||
err = writeTxIn(w, pver, msg.Version, ti)
|
||||
err = writeTxInBuf(w, pver, msg.Version, ti, buf)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue