From aadde5abecdcbf6744af9cfecca6163dabfae1da Mon Sep 17 00:00:00 2001 From: Florian Lenz Date: Fri, 22 Jun 2018 14:58:00 +0300 Subject: [PATCH] [vm] changed sendETHTransaction method --- vm-raw/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vm-raw/index.js b/vm-raw/index.js index b74ea27..39afd40 100644 --- a/vm-raw/index.js +++ b/vm-raw/index.js @@ -11,14 +11,13 @@ export default { ethereumRequest: global.ethereumRequest, /** * @typedef {Object} TransactionParams - * @property {string} purpose - * @property {string} amount (in WEI!) + * @property {string} value (in WEI!) * @property {string} to (address) * @property {string} data * * @desc send an ethereum transaction * @param {TransactionParams} transactionParams - * @param {function} callback will be called with transaction hash and error (null if no error) + * @param {function} callback will be called with the transaction (including TX hash). value, gasLimit, gasPrice must be base 10 */ sendETHTransaction: global.sendETHTransaction }