Skip to content
Snippets Groups Projects
Commit 5608b730 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Aumentando los limites en destileria

parent 1a7ddb46
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ const rl = require('readline').createInterface(
var web3;
var Distillery;
var bfa;
var notation = [ 6 ];
var notation = [ 15 ];
function init()
{
......@@ -21,8 +21,32 @@ function init()
case 9:
notation.push( "Gwei" );
break;
case 12:
notation.push( "micro" );
break;
case 15:
notation.push( "finney" );
break;
case 18:
notation.push( "ether" );
break;
case 21:
notation.push( "kether" );
break;
case 24:
notation.push( "grand" );
break;
case 27:
notation.push( "mether" );
break;
case 30:
notation.push( "gether" );
break;
case 33:
notation.push( "tether" );
break;
default:
notation = [ 6, Math.pow(10, 6), "Mwei" ];
notation = [ 15, Math.pow(10, 15), "finney" ];
}
bfa = new Libbfa();
web3 = bfa.newweb3();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment