From fecc6e83bab38381ac654274018acf7a7278b25a Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 31 Oct 2016 10:28:33 -0300 Subject: [PATCH] test --- src/rpcblockchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 48a175401..48b16131f 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -389,6 +389,7 @@ char *bitcoin_address(char *coinaddr,uint8_t addrtype,uint8_t *pubkey_or_rmd160, Value notaries(const Array& params, bool fHelp) { + Array a; Object ret,item; int32_t i,j,n,m; char *hexstr; std::string hex,addr; 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); @@ -397,7 +398,6 @@ Value notaries(const Array& params, bool fHelp) throw JSONRPCError(RPC_INVALID_PARAMETER, "Block height out of range"); else { - Array a; Object item; int32_t i,j,n,m; char *hexstr; std::string hex,addr; uint8_t pubkeys[64][33]; char btcaddr[64],kmdaddr[64],*ptr; hex.resize(67); if ( (n= komodo_notaries(pubkeys,height)) > 0 ) {