diff --git a/bin/MasterDistiller.js b/bin/MasterDistiller.js index 1fcabecc2becf1f6e8215fe7f3ee419f9b29e263..80b9181791ad820847dd636e66240e65c20cb1e0 100755 --- a/bin/MasterDistiller.js +++ b/bin/MasterDistiller.js @@ -11,7 +11,7 @@ var notation = [ 6 ]; function init() { - notation.push( 10**notation[0] ); + notation.push( Math.pow(10, notation[0]) ); switch ( notation[0] ) { case 6: notation.push( "Mwei" ); @@ -20,7 +20,7 @@ function init() notation.push( "Gwei" ); break; default: - notation = [ 6, 10**6, "Mwei" ]; + notation = [ 6, Math.pow(10, 6), "Mwei" ]; } bfa = new Libbfa(); web3 = bfa.newweb3();