Fixed test cases for finney units.

This commit is contained in:
Richard Moore 2018-08-21 13:23:11 +02:00
parent 102a4e8bf4
commit 2d35e5e9d7
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295
2 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ describe('Test Unit Conversion', function () {
var wei = ethers.utils.bigNumberify(test.wei);
var formatting = test.format || {};
['kwei', 'mwei', 'gwei', 'szabo', 'finny', 'satoshi'].forEach(function(name) {
['kwei', 'mwei', 'gwei', 'szabo', 'finney', 'satoshi'].forEach(function(name) {
var unitName = name;
if (name === 'satoshi') { unitName = 8; }

Binary file not shown.