good morning!!!!

Skip to content
Snippets Groups Projects
Commit 5582901c authored by Gavin Wood's avatar Gavin Wood
Browse files

Various fixes to ethereum.js and client web API stuff.

parent ded221fb
Branches
Tags
No related merge requests found
......@@ -453,8 +453,10 @@ var contract = function (address, desc) {
transact: function (extra) {
extra = extra || {};
extra.to = address;
extra.data = parsed;
return abi.methodSignature(desc, method.name).then(function (signature) {
extra.data = signature.slice(0, 2 + ETH_METHOD_SIGNATURE_LENGTH * 2) + parsed;
return web3.eth.transact(extra).then(onSuccess);
});
}
};
};
......
This diff is collapsed.
This diff is collapsed.
......@@ -57,8 +57,10 @@ var contract = function (address, desc) {
transact: function (extra) {
extra = extra || {};
extra.to = address;
extra.data = parsed;
return abi.methodSignature(desc, method.name).then(function (signature) {
extra.data = signature.slice(0, 2 + ETH_METHOD_SIGNATURE_LENGTH * 2) + parsed;
return web3.eth.transact(extra).then(onSuccess);
});
}
};
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment