From 5608b7304fb83cc185441259a16bc7322026a1ee Mon Sep 17 00:00:00 2001 From: Robert Martin-Legene <robert@nic.ar> Date: Tue, 1 Jan 2019 23:55:27 -0300 Subject: [PATCH] Aumentando los limites en destileria --- bin/MasterDistiller.js | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/bin/MasterDistiller.js b/bin/MasterDistiller.js index 47c53a1..b43cc1f 100755 --- a/bin/MasterDistiller.js +++ b/bin/MasterDistiller.js @@ -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(); -- GitLab