Skip to content

Commit cf46a23

Browse files
committed
Expose wallet balance types
1 parent 6c0b248 commit cf46a23

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

node/src/wallets.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,16 @@ pub enum AddressKind {
9494

9595
#[derive(Debug, Clone, Serialize, Deserialize)]
9696
pub struct ConfirmedBalance {
97-
total: Amount,
98-
spendable: Amount,
99-
immature: Amount,
100-
locked: Amount,
97+
pub total: Amount,
98+
pub spendable: Amount,
99+
pub immature: Amount,
100+
pub locked: Amount,
101101
}
102102

103103
#[derive(Debug, Clone, Serialize, Deserialize)]
104104
pub struct UnconfirmedBalance {
105-
total: Amount,
106-
locked: Amount,
105+
pub total: Amount,
106+
pub locked: Amount,
107107
}
108108

109109
#[derive(Debug, Clone, Serialize, Deserialize)]

0 commit comments

Comments
 (0)