Fixed double-0x bug in Interface.
This commit is contained in:
parent
4bcef804b6
commit
8033a8f94c
@ -315,7 +315,7 @@ function Interface(abi) {
|
||||
|
||||
signature = '0x' + utils.sha3(signature).slice(0, 4).toString('hex');
|
||||
|
||||
result.data = signature + Interface.encodeParams(inputTypes, params);
|
||||
result.data = signature + Interface.encodeParams(inputTypes, params).substring(2);
|
||||
if (method.constant) {
|
||||
result.type = 'call';
|
||||
result.parse = function(data) {
|
||||
|
Loading…
Reference in New Issue
Block a user