From ace326a4176164f86d4dc9a5caf8b2b4a644f993 Mon Sep 17 00:00:00 2001 From: Chetan Phirke Date: Wed, 23 Oct 2024 16:59:57 +0800 Subject: [PATCH] Fix typo --- contract/contract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contract/contract.go b/contract/contract.go index 1281be3..27795b0 100644 --- a/contract/contract.go +++ b/contract/contract.go @@ -156,7 +156,7 @@ func (c *Contract) Deploy(params DeployParams) (*transaction.Transaction, error) hash := result["TranID"].(string) tx.ID = hash // Handle optional contract address - contractAddress, ok := result["contract_address"].(string) + contractAddress, ok := result["ContractAddress"].(string) if ok { tx.ContractAddress = contractAddress } else {