No need to cast something is already a uint32.
This commit is contained in:
parent
f0cc672d23
commit
674ef590bb
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue