1
0
Fork 0
forked from lthn/blockchain

wallet2: minor fix (catch an exception by reference, not but value)

This commit is contained in:
sowle 2020-01-24 11:42:11 +03:00
parent f29492d98a
commit 4ac3c1645e
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -4572,7 +4572,7 @@ void wallet2::sweep_below(size_t fake_outs_count, const currency::account_public
{
finalize_transaction(ftp, tx, tx_key, false, false);
}
catch (error::tx_too_big)
catch (error::tx_too_big&)
{
return rc_too_many_outputs;
}