mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
wallet_rpc_server: fix short payment id validation in transfer
This commit is contained in:
parent
4629ead8c5
commit
8c8482ac98
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue