This commit is contained in:
jl777
2016-11-07 16:36:49 -03:00
parent abdd867240
commit 654dfaaf85
5 changed files with 16 additions and 13 deletions

View File

@@ -476,7 +476,7 @@ Value paxdeposit(const Array& params, bool fHelp)
{
uint64_t seed,komodoshis = 0; int32_t height; char destaddr[64]; uint8_t i,pubkey37[33];
bool fSubtractFeeFromAmount = false;
if ( ASSETCHAINS_SYMBOL[0] != 0 )
if ( komodo_is_issuer() != 0 )
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "paxdeposit only from KMD");
if (!EnsureWalletIsAvailable(fHelp))
return Value::null;