Skip to content

Commit

Permalink
fix: update balance after pending transaction is created (#3320)
Browse files Browse the repository at this point in the history
Description
---
Update the balance after a pending TX is created.

How Has This Been Tested?
---
Manually.
  • Loading branch information
Cifko authored Sep 8, 2021
1 parent 3e2d335 commit 47bafbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions applications/tari_console_wallet/src/ui/state/app_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ impl AppStateInner {
.partial_cmp(&a.timestamp)
.expect("Should be able to compare timestamps")
});
self.refresh_balance().await?;
self.updated = true;
return Ok(());
}
Expand Down

0 comments on commit 47bafbf

Please sign in to comment.