refactor(wallet): rename get_balance() to balance()

This commit is contained in:
Steve Myers committed 2024-06-01 17:46:24 -05:00
1 parent 4a8452f9b8
commit 50137b0425
8 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -1216,7 +1216,7 @@ impl Wallet {
/// Return the balance, separated into available, trusted-pending, untrusted-pending and immature
/// values.
pub fn get_balance(&self) -> Balance {
pub fn balance(&self) -> Balance {
self.indexed_graph.graph().balance(
&self.chain,
self.chain.tip().block_id(),