The sequence num of a tx input is a uint32.
This commit is contained in:
parent
d3b76da919
commit
11d39125de
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ type Vin struct {
|
||||||
Txid string `json:"txid,omitempty"`
|
Txid string `json:"txid,omitempty"`
|
||||||
Vout int `json:"vout,omitempty"`
|
Vout int `json:"vout,omitempty"`
|
||||||
ScriptSig *ScriptSig `json:"scriptSig,omitempty"`
|
ScriptSig *ScriptSig `json:"scriptSig,omitempty"`
|
||||||
Sequence float64 `json:"sequence"`
|
Sequence uint32 `json:"sequence"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Vout models parts of the tx data. It is defined seperately since both
|
// Vout models parts of the tx data. It is defined seperately since both
|
||||||
|
|
Loading…
Reference in a new issue