From b5b86852307cad8944d39b968c7ced20de054772 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Mon, 9 Dec 2024 12:01:34 -0700 Subject: [PATCH] Remove use of deprecated `AccountBalance::unshielded` method. --- rust/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 04e1a79..1ea6b34 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -1750,7 +1750,7 @@ impl FfiAccountBalance { account_uuid: account_uuid.expose_uuid().into_bytes(), sapling_balance: FfiBalance::new(balance.sapling_balance()), orchard_balance: FfiBalance::new(balance.orchard_balance()), - unshielded: ZatBalance::from(balance.unshielded()).into(), + unshielded: ZatBalance::from(balance.unshielded_balance().total()).into(), } } }