diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/abi.js | 2 | ||||
-rw-r--r-- | lib/web3.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/abi.js b/lib/abi.js index 21580347d..1dc662152 100644 --- a/lib/abi.js +++ b/lib/abi.js @@ -128,7 +128,7 @@ var formatInputReal = function (value) { var dynamicTypeBytes = function (type, value) { // TODO: decide what to do with array of strings - if (arrayType(type) || prefixedType('string')(type)) + if (arrayType(type) || type == 'string') // only string itself that is dynamic; stringX is static length. return formatInputInt(value.length); return ""; }; diff --git a/lib/web3.js b/lib/web3.js index 96002a232..7191adfe8 100644 --- a/lib/web3.js +++ b/lib/web3.js @@ -82,6 +82,7 @@ var ethMethods = function () { { name: 'transaction', call: transactionCall }, { name: 'uncle', call: uncleCall }, { name: 'compilers', call: 'eth_compilers' }, + { name: 'flush', call: 'eth_flush' }, { name: 'lll', call: 'eth_lll' }, { name: 'solidity', call: 'eth_solidity' }, { name: 'serpent', call: 'eth_serpent' }, |