@polkadot/util
Advanced tools
Comparing version 0.17.1 to 0.17.2
@@ -33,5 +33,5 @@ 'use strict'; | ||
var value = hexStripPrefix(_value) || '00'; | ||
var value = hexStripPrefix(_value); | ||
return new BN(isLe ? reverse(value) : value, 16); | ||
return new BN((isLe ? reverse(value) : value) || '00', 16); | ||
}; |
{ | ||
"name": "@polkadot/util", | ||
"version": "0.17.1", | ||
"version": "0.17.2", | ||
"description": "A collection of useful utilities for @polkadot", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
144157