remove unnecessary type annotation

This commit is contained in:
Sergio Chouhy 2025-12-04 16:46:43 -03:00
parent b5589d53bb
commit a84b18f22c

View File

@ -37,7 +37,7 @@ fn transfer(sender: AccountWithMetadata, recipient: AccountWithMetadata, balance
}
// Create accounts post states, with updated balances
let sender_post: AccountPostState = {
let sender_post = {
// Modify sender's balance
let mut sender_post_account = sender.account.clone();
sender_post_account.balance -= balance_to_move;