From 4202bf2e93f150ed9ef899116ccaa35155891ae8 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sat, 3 May 2014 23:38:47 -0500 Subject: [PATCH] Make TestNet field name consistent. The commit makes the TestNet field in GetMiningInfoResult consistent with InfoResult. --- jsonresults.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonresults.go b/jsonresults.go index fdb39074..1e87d9aa 100644 --- a/jsonresults.go +++ b/jsonresults.go @@ -247,7 +247,7 @@ type GetMiningInfoResult struct { HashesPerSec int64 `json:"hashespersec"` NetworkHashPS int64 `json:"networkhashps"` PooledTx uint64 `json:"pooledtx"` - Testnet bool `json:"testnet"` + TestNet bool `json:"testnet"` } // GetWorkResult models the data from the getwork command.