Skip to content

Commit

Permalink
Corrected formatting for change in filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
masonyonkers committed Aug 21, 2024
1 parent dd5d597 commit fa0979b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/bin/pcli/src/command/view/balance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ impl BalanceCmd {
// Exclude withdrawn LPNFTs and withdrawn auction NFTs.
.filter(|(_, value)| match asset_cache.get(&value.asset_id) {
None => true,
Some(denom) => !denom.is_withdrawn_position_nft() && !denom.is_withdrawn_auction_nft(),
Some(denom) => {
!denom.is_withdrawn_position_nft() && !denom.is_withdrawn_auction_nft()
}
});

for (index, value) in rows {
Expand Down

0 comments on commit fa0979b

Please sign in to comment.