Skip to content

Commit

Permalink
added pending balance to user
Browse files Browse the repository at this point in the history
  • Loading branch information
kickthedragon committed Sep 7, 2016
1 parent 5563d9e commit 5488c80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/types.rs
Expand Up @@ -27,6 +27,8 @@ pub struct User {
device_count: u8,
/// The list of users wallet addresses
wallet_addresses: BTreeSet<WalletAddress>,
/// The users pending balance
pending_balance: Amount,
/// The checking wallet balance
checking_balance: Amount,
/// The cold wallet balance
Expand Down Expand Up @@ -266,6 +268,7 @@ impl FromDTO<UserDTO> for User {
first: first_opt,
last: last_opt,
device_count: dto.device_count,
pending_balance: dto.pending_balance,
wallet_addresses: dto.wallet_addresses,
checking_balance: dto.checking_balance,
cold_balance: dto.cold_balance,
Expand Down

0 comments on commit 5488c80

Please sign in to comment.