Skip to content

Commit

Permalink
update generated client
Browse files Browse the repository at this point in the history
  • Loading branch information
facoinbase committed Sep 19, 2024
1 parent 1f6a7c6 commit 93678d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coinbase/historical_balance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class HistoricalBalance {
public static fromModel(model: HistoricalBalanceModel): HistoricalBalance {
const asset = Asset.fromModel(model.asset);
return new HistoricalBalance(
(model.amount != "") ? asset.fromAtomicAmount(new Decimal(model.amount)) : new Decimal(0),
model.amount != "" ? asset.fromAtomicAmount(new Decimal(model.amount)) : new Decimal(0),
new Decimal(model.block_height),
model.block_hash,
asset,
Expand Down

0 comments on commit 93678d1

Please sign in to comment.