Skip to content

Commit

Permalink
--amend
Browse files Browse the repository at this point in the history
  • Loading branch information
saratomaz committed May 16, 2023
1 parent fa10779 commit 2931820
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cardano_node_tests/utils/dbsync_utils.py
Expand Up @@ -974,7 +974,7 @@ def check_tx( # noqa: C901
)
tx_mint_script_hashes = _get_scripts_hashes(cluster_obj=cluster_obj, records=tx_raw_output.mint)

# A script is added to `script` table only the first time it is seen, so the record
# a script is added to `script` table only the first time it is seen, so the record
# can be empty for the current transaction
tx_script_hashes = {*tx_in_script_hashes, *tx_mint_script_hashes}
if response.scripts and tx_script_hashes:
Expand Down Expand Up @@ -1076,7 +1076,7 @@ def check_tx( # noqa: C901
f"({tx_raw_output.required_signer_hashes} != {db_required_signer_hashes})"
)

# check reference scripts txins
# Check reference scripts txins
txins_script_hashes = []

for r in tx_raw_output.script_txins:
Expand All @@ -1091,7 +1091,7 @@ def check_tx( # noqa: C901

db_txins_script_hashes = {r.hash for r in response.script_txins if r.hash}

# a script is added to `script` table only the first time it is seen, so the record
# A script is added to `script` table only the first time it is seen, so the record
# can be empty for the current transaction
if db_txins_script_hashes:
assert set(txins_script_hashes).issubset(db_txins_script_hashes), (
Expand Down

0 comments on commit 2931820

Please sign in to comment.