Skip to content

Commit

Permalink
fix: update balance after pending transaction is created (tari-projec…
Browse files Browse the repository at this point in the history
…t#3320)

Description
---
Update the balance after a pending TX is created.

How Has This Been Tested?
---
Manually.
  • Loading branch information
Cifko committed Sep 10, 2021
1 parent 0532379 commit 6cd6b0e
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 @@ -631,6 +631,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 6cd6b0e

Please sign in to comment.