Allow nSPV getnewaddress

This commit is contained in:
jl777
2019-07-06 07:31:25 -11:00
parent 94d248033d
commit 5982e76996

View File

@@ -162,7 +162,7 @@ void OS_randombytes(unsigned char *x,long xlen);
UniValue getnewaddress(const UniValue& params, bool fHelp)
{
if (!EnsureWalletIsAvailable(fHelp))
if ( KOMODO_NSPV == 0 && !EnsureWalletIsAvailable(fHelp) )
return NullUniValue;
if (fHelp || params.size() > 1)