Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Sep 21, 2023
1 parent 90711a4 commit ee39e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/enclave/storage/enclavedb/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const (

selectTxQuery = "select tx.content, batch.full_hash, batch.height, tx.idx from exec_tx join tx on tx.hash=exec_tx.tx join batch on batch.sequence=exec_tx.batch where batch.is_canonical=true and tx.hash=?"

selectContractCreationTx = "select tx from exec_tx where created_contract_address=?"
selectContractCreationTx = "select tx.full_hash from exec_tx join tx on tx.hash=exec_tx.tx where created_contract_address=?"
selectTotalCreatedContracts = "select count( distinct created_contract_address) from exec_tx "
queryBatchWasExecuted = "select is_executed from batch where is_canonical=true and hash=?"

Expand Down

0 comments on commit ee39e30

Please sign in to comment.