From 11d39125dee8da4551814129d304bfcf6a971c16 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 27 Dec 2013 12:38:11 -0600 Subject: [PATCH] The sequence num of a tx input is a uint32. --- jsonapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonapi.go b/jsonapi.go index a88304c6..41b2fb9b 100644 --- a/jsonapi.go +++ b/jsonapi.go @@ -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