Skip to content

Commit

Permalink
Remove use of deprecated AccountBalance::unshielded method.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuttycom committed Dec 9, 2024
1 parent 9574963 commit b5b8685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
}
}
Expand Down

0 comments on commit b5b8685

Please sign in to comment.