Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chetan-zilliqa committed Oct 23, 2024
1 parent 677f88f commit ace326a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contract/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ace326a

Please sign in to comment.