diff --git a/src/wallet/monero_wallet_full.cpp b/src/wallet/monero_wallet_full.cpp index d44d3e9..fc204bc 100644 --- a/src/wallet/monero_wallet_full.cpp +++ b/src/wallet/monero_wallet_full.cpp @@ -2640,6 +2640,9 @@ namespace monero { throw std::runtime_error("Invalid address"); } + // validate signature + if (signature.empty()) throw std::runtime_error("Must provide signature to check tx proof"); + // initialize and return tx check using wallet2 std::shared_ptr check_tx = std::make_shared(); uint64_t received_amount;