state: Refactor compute_new_account_address()
#575
Merged
compute_new_account_address()
#575