* signing prefix added * Minor improvement * Tests changed * Successfully tested * Minor improvements * Minor improvements * Revert "Dangling commas are now required. (#1359)" This reverts commita6889776f4. * fixes #1358 * linting done * suggested changes (cherry picked from commitfa1dfbd113)
This commit is contained in:
@ -15,7 +15,16 @@ function sendTransaction (target, name, argsTypes, argsValues, opts) {
|
||||
return target.sendTransaction(Object.assign({ data: encodedData }, opts));
|
||||
}
|
||||
|
||||
function sendEther (from, to, value) {
|
||||
web3.eth.sendTransaction({
|
||||
from: from,
|
||||
to: to,
|
||||
value: value,
|
||||
gasPrice: 0,
|
||||
});
|
||||
}
|
||||
module.exports = {
|
||||
findMethod,
|
||||
sendTransaction,
|
||||
sendEther,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user