diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2022-03-11 17:23:19 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2022-03-11 17:23:19 +0000 |
| commit | 7dcfccbaaf25bdbbd4c5ad3d6867df56bd272369 (patch) | |
| tree | e364d7ae515b97ba5aca1c1e261dd44030ede396 /src | |
| parent | d562deaaa950979b7a31a441a8f02a00013e26d6 (diff) | |
| download | monzero-core-7dcfccbaaf25bdbbd4c5ad3d6867df56bd272369.tar.gz monzero-core-7dcfccbaaf25bdbbd4c5ad3d6867df56bd272369.tar.xz monzero-core-7dcfccbaaf25bdbbd4c5ad3d6867df56bd272369.zip | |
wallet_rpc_server: fix make_integrated_address with no payment id
Diffstat (limited to 'src')
| -rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index a173b5a50..be335b3a6 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -1760,12 +1760,6 @@ namespace tools er.message = "Already integrated address"; return false; } - if (req.payment_id.empty()) - { - er.code = WALLET_RPC_ERROR_CODE_WRONG_PAYMENT_ID; - er.message = "Payment ID shouldn't be left unspecified"; - return false; - } res.integrated_address = get_account_integrated_address_as_str(m_wallet->nettype(), info.address, payment_id); } res.payment_id = epee::string_tools::pod_to_hex(payment_id); |
