The sequence num of a tx input is a uint32.

This commit is contained in:
Dave Collins 2013-12-27 12:38:11 -06:00
parent d3b76da919
commit 11d39125de

View file

@ -103,7 +103,7 @@ type Vin struct {
Txid string `json:"txid,omitempty"`
Vout int `json:"vout,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