aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2017-01-30 17:03:07 -0600
committerluigi1111 <luigi1111w@gmail.com>2017-01-30 17:03:07 -0600
commitef987e5e49f18384577f5e5a3c3a3c8047fea3bc (patch)
tree41ba158b8e739238f7c618e3baefa611b400e59d
parentMerge pull request #1618 (diff)
parentwallet_rpc_server: fix short payment id validation in transfer (diff)
downloadmonero-ef987e5e49f18384577f5e5a3c3a3c8047fea3bc.tar.xz
Merge pull request 1648
8c8482a wallet_rpc_server: fix short payment id validation in transfer (moneromooo-monero)
-rw-r--r--src/wallet/wallet_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index 33e099ceb..d35e51068 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -369,7 +369,7 @@ namespace tools
cryptonote::set_payment_id_to_tx_extra_nonce(extra_nonce, long_payment_id);
}
/* or short payment ID */
- else if (!wallet2::parse_short_payment_id(payment_id_str, short_payment_id)) {
+ else if (wallet2::parse_short_payment_id(payment_id_str, short_payment_id)) {
cryptonote::set_encrypted_payment_id_to_tx_extra_nonce(extra_nonce, short_payment_id);
}
else {