Added explicity pify dep, deprecating web3.eth. (#1532)
* Added explicity pify dep, deprecating web3.eth. * Dropped promisify in favor of pify.
This commit is contained in:
@ -4,6 +4,7 @@ const ethAsync = pify(web3.eth);
|
||||
|
||||
module.exports = {
|
||||
ethGetBalance: ethAsync.getBalance,
|
||||
ethSendTransaction: ethAsync.sendTransaction,
|
||||
ethGetBlock: ethAsync.getBlock,
|
||||
ethGetTransactionReceipt: ethAsync.getTransactionReceipt,
|
||||
ethSendTransaction: ethAsync.sendTransaction,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user