From 1349f96d8ef3c3328e9ba498c384884c821a4099 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 18 Apr 2014 12:35:37 -0500 Subject: [PATCH] Correct GetRawMempoolResult types. The StartingPriority and CurrentPriority fields of the GetRawMempoolResult are float64s instead of ints. --- jsonresults.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsonresults.go b/jsonresults.go index dbe38113..7d1d6d4a 100644 --- a/jsonresults.go +++ b/jsonresults.go @@ -91,8 +91,8 @@ type GetRawMempoolResult struct { Fee float64 `json:"fee"` Time int64 `json:"time"` Height int64 `json:"height"` - StartingPriority int `json:"startingpriority"` - CurrentPriority int `json:"currentpriority"` + StartingPriority float64 `json:"startingpriority"` + CurrentPriority float64 `json:"currentpriority"` Depends []string `json:"depends"` }