From 7ed9f1fcd02e61c7ef1a99ea09c2e71e44db7a13 Mon Sep 17 00:00:00 2001 From: Andrei Fleiser Date: Fri, 17 Jan 2025 17:05:20 +0100 Subject: [PATCH] semantic variable naming improvment --- pkg/onchain/datastore.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg/onchain/datastore.go b/pkg/onchain/datastore.go index 9bfb3c06e..b1d86a895 100644 --- a/pkg/onchain/datastore.go +++ b/pkg/onchain/datastore.go @@ -84,9 +84,12 @@ func getCoinsKey() []byte { DatastoreToDeployedContract If the datastore is a valid datastore for a deployed contract, it will return the contract's bytecode, args and coins If the datastore is not a valid datastore for a deployed contract, -it will return an empty ContractDatastore and success = false. +it will return an empty ContractDatastore and isDeployDatastore = false. */ -func DatastoreToDeployedContract(datastore []DatastoreEntry) (contractDatastore ContractDatastore, success bool) { +func DatastoreToDeployedContract(datastore []DatastoreEntry) ( + contractDatastore ContractDatastore, + isDeployDatastore bool, +) { if !isContractDeployDatastore(datastore) { return ContractDatastore{}, false }