From 4802ef963eaaaf6c8ef81d2c093060b3f11f8f99 Mon Sep 17 00:00:00 2001 From: Jon Ramvi Date: Thu, 25 Jul 2019 15:22:38 +0200 Subject: [PATCH] Update api-wallet.rst Fixed missing `utils.` --- source/ethers.js/source/api-wallet.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ethers.js/source/api-wallet.rst b/source/ethers.js/source/api-wallet.rst index 8a4256b..396d9be 100644 --- a/source/ethers.js/source/api-wallet.rst +++ b/source/ethers.js/source/api-wallet.rst @@ -202,13 +202,13 @@ Signing let transaction = { nonce: 0, gasLimit: 21000, - gasPrice: utils.bigNumberify("20000000000"), + gasPrice: ethers.utils.bigNumberify("20000000000"), to: "0x88a5C2d9919e46F883EB62F7b8Dd9d0CC45bc290", // ... or supports ENS names // to: "ricmoo.firefly.eth", - value: utils.parseEther("1.0"), + value: ethers.utils.parseEther("1.0"), data: "0x", // This ensures the transaction cannot be replayed on different networks