From 0e8cbf3ba1990edd9419050293e95e3398aba4a4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 30 Mar 2017 05:26:43 +0300 Subject: [PATCH] Test --- src/rpcblockchain.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 041563e29..e348a4ab9 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -614,7 +614,7 @@ UniValue minerids(const UniValue& params, bool fHelp) UniValue notaries(const UniValue& params, bool fHelp) { - Array a; UniValue ret(UniValue::VOBJ); int32_t i,j,n,m; char *hexstr; uint8_t pubkeys[64][33]; char btcaddr[64],kmdaddr[64],*ptr; + UniValue a(UniValue::VARR); UniValue ret(UniValue::VOBJ); int32_t i,j,n,m; char *hexstr; uint8_t pubkeys[64][33]; char btcaddr[64],kmdaddr[64],*ptr; if ( fHelp || params.size() != 1 ) throw runtime_error("notaries height\n"); LOCK(cs_main); @@ -630,7 +630,7 @@ UniValue notaries(const UniValue& params, bool fHelp) { for (i=0; i