Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ouziel committed Jun 5, 2024
1 parent d38c51f commit 8fb5011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions counterparty-core/counterpartycore/lib/api/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def healthz(db, check_type: str = "heavy"):
healthz_light(db)
healthz_heavy(db)
except Exception as e:
# logger.exception(e)
logger.error(f"Health check failed: {e}")
return False
return True
Expand Down
2 changes: 1 addition & 1 deletion counterparty-core/counterpartycore/lib/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,6 @@ def ensure_script_pub_key_for_inputs(coins):
txid = coin["txid"]
for vout in txs[txid]["vout"]:
if vout["n"] == coin["vout"]:
coin["script_pub_key"] = vout["script_pub_key"]["hex"]
coin["script_pub_key"] = vout["scriptPubKey"]["hex"]

return coins

0 comments on commit 8fb5011

Please sign in to comment.