mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-20 16:48:40 +02:00
check for empty signature in check_tx_proof()
This commit is contained in:
@@ -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<monero_check_tx> check_tx = std::make_shared<monero_check_tx>();
|
||||
uint64_t received_amount;
|
||||
|
||||
Reference in New Issue
Block a user