Skip to content

Commit

Permalink
Confirm balance.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Cardona committed Aug 21, 2019
1 parent 4c9ee52 commit b3677d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class Util {
const details = (await this.address.details(
fromAddr
)) as AddressDetailsResult
const balance: number = details.unconfirmedBalance
const balance: number = details.balance

// If balance is zero or balanceOnly flag is passed in, exit.
if (balance === 0 || balanceOnly) return balance
Expand Down

0 comments on commit b3677d3

Please sign in to comment.