From a8be7c327d7a2cc3be3b9adc4375d452e3f27a21 Mon Sep 17 00:00:00 2001 From: sowle Date: Sun, 4 Dec 2022 15:20:09 +0100 Subject: [PATCH] fix for a typo --- src/wallet/wallet2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 898d4921..538db3c4 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -5816,7 +5816,7 @@ void wallet2::prepare_tx_destinations(uint64_t needed_money, else { // pre-HF4 - WLT_THROW_IF_FALSE_WALLET_INT_ERR_EX(asset_id != currency::null_hash, "assets are not allowed prior to HF4"); + WLT_THROW_IF_FALSE_WALLET_INT_ERR_EX(asset_id == currency::null_hash, "assets are not allowed prior to HF4"); currency::tx_destination_entry change_dts = AUTO_VAL_INIT(change_dts); if (needed_money < found_money) {