Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
[![CI](https://github.com/Scottcjn/Rustchain/actions/workflows/ci.yml/badge.svg)](https://github.com/Scottcjn/Rustchain/actions/workflows/ci.yml)
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
[![Stars](https://img.shields.io/github/stars/Scottcjn/Rustchain?style=flat&color=gold)](https://github.com/Scottcjn/Rustchain/stargazers)
[![Nodes](https://img.shields.io/badge/Nodes-5%20Active-brightgreen)](https://Rustchain.org/explorer/)
[![DePIN](https://img.shields.io/badge/DePIN-Vintage%20Hardware-8B4513)](https://Rustchain.org)
[![Nodes](https://img.shields.io/badge/Nodes-5%20Active-brightgreen)](https://rustchain.org/explorer/)
[![DePIN](https://img.shields.io/badge/DePIN-Vintage%20Hardware-8B4513)](https://rustchain.org)
[![Proof of Antiquity](https://img.shields.io/badge/Consensus-Proof%20of%20Antiquity-DAA520)](docs/WHITEPAPER.md)
[![DOI](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.19442753-blue)](https://doi.org/10.5281/zenodo.19442753)

Expand Down
2 changes: 1 addition & 1 deletion node/api_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def wrapper(*a, **k):
def _rows(sql, params=()):
with _ro() as c:
c.row_factory = sqlite3.Row
return [dict(r) for r in c.execute(sql, params).fetchall()]
return [dict(r) for r in c.execute(sql, params).fetchall()] # fetchall-ok: bounded-by-schema

def _one(sql, params=()):
with _ro() as c:
Expand Down
2 changes: 1 addition & 1 deletion node/bridge_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ def migrate_deposits_to_hard_locks(cursor):
WHERE direction = 'deposit'
AND status IN ('pending', 'locked', 'confirming')
AND source_debited = 0
""").fetchall()
""").fetchall() # fetchall-ok: bounded-by-schema
except sqlite3.OperationalError as exc:
# Expected only when bridge_transfers/balances aren't created yet in this
# init ordering. Log it so a genuine schema error can't hide here and
Expand Down
Loading