Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed May 15, 2024
1 parent e654c75 commit b98915b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/functions/balance.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { ApiPromise } from '@polkadot/api';
import { parseHNString } from './common';
import { BN } from '@polkadot/util';

import { parseHNString } from './common';

/**
* Converts an on chain balance value in BN planck to a decimal value in token unit (1 token token = 10^units planck)
* @param val A BN that includes the balance in planck as it is stored on chain. It can be a very large number.
Expand Down

0 comments on commit b98915b

Please sign in to comment.