Skip to content

Commit

Permalink
transpile.js precision tests notation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Mar 25, 2020
1 parent 0fbe5cb commit 0a13a08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/transpile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1172,11 +1172,11 @@ class Transpiler {
"",
"",
"def toWei(amount, decimals):",
" return Exchange.toWei(amount, decimals)",
" return Exchange.to_wei(amount, decimals)",
"",
"",
"def fromWei(amount, decimals):",
" return Exchange.fromWei(amount, decimals)",
" return Exchange.from_wei(amount, decimals)",
"",
"",
].join ("\n")
Expand All @@ -1201,10 +1201,10 @@ class Transpiler {
" return Exchange::number_to_string ($x);",
"}",
"function toWei ($amount, $decimals) {",
" return Exchange::toWei ($amount, $decimals);",
" return Exchange::to_wei ($amount, $decimals);",
"}",
"function fromWei ($amount, $decimals) {",
" return Exchange::fromWei ($amount, $decimals);",
" return Exchange::from_wei ($amount, $decimals);",
"}",
"",
].join ("\n")
Expand Down

0 comments on commit 0a13a08

Please sign in to comment.