1
0
Fork 0
forked from lthn/blockchain

fix for a typo

This commit is contained in:
sowle 2022-12-04 15:20:09 +01:00
parent 2de573e2c3
commit a8be7c327d
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -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)
{