No need to cast something is already a uint32.

This commit is contained in:
Dave Collins 2013-12-27 13:20:13 -06:00
parent f0cc672d23
commit 674ef590bb

View file

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