diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 2df09f1c6..49d6a829b 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -1041,7 +1041,7 @@ UniValue nspv_mempool(const UniValue& params, bool fHelp) if ( fHelp || params.size() > 5 ) throw runtime_error("nspv_mempool func(0 all, 1 address, 2 txid spent, 3 txid inmempool) address isCC [txid vout]]]\n"); funcid = atoi((char *)params[0].get_str().c_str()); - coinaddr = (char *)params[1].get_str().c_str); + coinaddr = (char *)params[1].get_str().c_str(); CCflag = atoi((char *)params[2].get_str().c_str()); if ( params.size() > 3 ) {