btcjson: Updated TxRawResult.Version from int32 to uint32
This commit is contained in:
parent
540786fda6
commit
2d7825cf70
2 changed files with 2 additions and 2 deletions
|
@ -712,7 +712,7 @@ type TxRawResult struct {
|
|||
Size int32 `json:"size,omitempty"`
|
||||
Vsize int32 `json:"vsize,omitempty"`
|
||||
Weight int32 `json:"weight,omitempty"`
|
||||
Version int32 `json:"version"`
|
||||
Version uint32 `json:"version"`
|
||||
LockTime uint32 `json:"locktime"`
|
||||
Vin []Vin `json:"vin"`
|
||||
Vout []Vout `json:"vout"`
|
||||
|
|
|
@ -764,7 +764,7 @@ func createTxRawResult(chainParams *chaincfg.Params, mtx *wire.MsgTx,
|
|||
Weight: int32(blockchain.GetTransactionWeight(btcutil.NewTx(mtx))),
|
||||
Vin: createVinList(mtx),
|
||||
Vout: createVoutList(mtx, chainParams, nil),
|
||||
Version: mtx.Version,
|
||||
Version: uint32(mtx.Version),
|
||||
LockTime: mtx.LockTime,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue