Fix internal bn/* imports (#1010)

This commit is contained in:
Jaco
2021-06-11 12:02:24 +02:00
committed by GitHub
parent 14fe54d2af
commit a5f3ce20ae
2 changed files with 14 additions and 1 deletions
+12
View File
@@ -1,5 +1,17 @@
# CHANGELOG
## master
Contributed:
- Add Ledger support for Edgeware (Thanks to https://github.com/raykyri)
- Fix `naclSeal` doc types (Thanks to https://github.com/agustinustheo)
Changes:
- Export `BN` in `@polkadot/util`
## 6.7.1 Jun 6, 2021
Changes:
+2 -1
View File
@@ -4,7 +4,8 @@
import type { ToBn } from '../types';
import { assert } from '../assert';
import { BN, BN_MAX_INTEGER, BN_ONE, BN_ZERO } from '../bn';
import { BN } from './bn';
import { BN_MAX_INTEGER, BN_ONE, BN_ZERO } from './consts';
import { bnToBn } from './toBn';
const SQRT_MAX_SAFE_INTEGER = new BN(94906265);