Update for btcjson sequence number type change.

This commit is contained in:
Dave Collins 2013-12-27 12:38:51 -06:00
parent ca0e38e58b
commit f0cc672d23

View file

@ -1034,7 +1034,7 @@ func createTxRawResult(net btcwire.BitcoinNet, txSha string, mtx *btcwire.MsgTx,
vinList[i].ScriptSig.Asm = disbuf
vinList[i].ScriptSig.Hex = hex.EncodeToString(v.SignatureScript)
}
vinList[i].Sequence = float64(v.Sequence)
vinList[i].Sequence = uint32(v.Sequence)
}
voutList := make([]btcjson.Vout, len(mtx.TxOut))