]> Git Repo - VerusCoin.git/commitdiff
test
authorjl777 <[email protected]>
Wed, 23 Nov 2016 16:17:15 +0000 (13:17 -0300)
committerjl777 <[email protected]>
Wed, 23 Nov 2016 16:17:15 +0000 (13:17 -0300)
src/rpcblockchain.cpp

index 4e73ce9df16d773bc6e73be1ec36711035676288..09d7352b9595a20b344eb07868e29d6b14b25061 100644 (file)
@@ -421,10 +421,11 @@ Value minerids(const Array& params, bool fHelp)
                 item.push_back(Pair("blocks", tally[i]));
                 a.push_back(item);
             }
+            Object item; 
+            item.push_back(Pair("pubkey", (char *)"external miners"));
+            item.push_back(Pair("blocks", tally[64]));
+            a.push_back(item);
         }
-        item.push_back(Pair("pubkey", (char *)"external miner"));
-        item.push_back(Pair("blocks", tally[64]));
-        a.push_back(item);
         ret.push_back(Pair("mined", a));
     } else ret.push_back(Pair("error", (char *)"couldnt extract minerids"));
     return ret;
This page took 0.025172 seconds and 4 git commands to generate.