diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 3c4877b26..bfc899b98 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -481,10 +481,9 @@ UniValue z_embedstring(const UniValue& params, bool fHelp) std::string string_to_embed = params[0].get_str(); std::vector bytes_to_embed(string_to_embed.begin(), string_to_embed.end()); - // Amount // TODO: Are zero-valued TXOUTs disallowed by consensus, or can we safely // remove the 'amount' from this RPC and always have zero-value TXOUT? - //CAmount nAmount = AmountFromValue(params[1]); + CAmount nAmount = AmountFromValue(params[1]); //if (nAmount <= 0) // throw JSONRPCError(RPC_TYPE_ERROR, "Invalid amount for send"); // Daira says they are supported, -- Duke