toUtf8, fromUtf8 aliases

This commit is contained in:
debris 2015-08-10 21:39:48 +02:00
parent ac7ac14760
commit 9aa23ae962
1 changed files with 2 additions and 0 deletions

View File

@ -111,7 +111,9 @@ web3.reset = function () {
};
web3.toHex = utils.toHex;
web3.toAscii = utils.toAscii;
web3.toUtf8 = utils.toAscii;
web3.fromAscii = utils.fromAscii;
web3.fromUtf8 = utils.fromAscii;
web3.toDecimal = utils.toDecimal;
web3.fromDecimal = utils.fromDecimal;
web3.toBigNumber = utils.toBigNumber;