From d63780b31540ebb0ea4b29c709be365d7e057990 Mon Sep 17 00:00:00 2001 From: Steve Hodgkiss Date: Sat, 14 Oct 2023 09:35:23 +0700 Subject: [PATCH] Correct use of contractConstructorInit Signed-off-by: Steve Hodgkiss --- .../private-networks/tutorials/contracts/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-23.4.1/private-networks/tutorials/contracts/index.md b/versioned_docs/version-23.4.1/private-networks/tutorials/contracts/index.md index 2b7d7f039cc..56de7beebe9 100644 --- a/versioned_docs/version-23.4.1/private-networks/tutorials/contracts/index.md +++ b/versioned_docs/version-23.4.1/private-networks/tutorials/contracts/index.md @@ -96,7 +96,7 @@ const rawTxOptions = { from: account.address, to: null, //public tx value: "0x00", - data: "0x" + contractBin + contractInit, // contract binary appended with initialization value + data: "0x" + contractBin + contractConstructorInit, // contract binary appended with initialization value gasPrice: "0x0", //ETH per unit of gas gasLimit: "0x24A22", //max number of gas units the tx is allowed to use };