1
0
Fork 0
forked from lthn/blockchain

coretests: hard_fork_2_incorrect_alias_update fixed due to change in logic of wallet2::request_alias_update()

This commit is contained in:
sowle 2024-06-25 14:41:36 +02:00
parent 226c3653ac
commit 5e8cfb9ee3
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -1336,7 +1336,7 @@ bool hard_fork_2_incorrect_alias_update<before_hf_2>::c1(currency::core& c, size
{
alice_wlt->request_alias_update(ai_upd, tx_upd, TESTS_DEFAULT_FEE);
}
catch (tools::error::tx_rejected&)
catch(std::runtime_error&)
{
// this should cause an exception with certain type
r = true;