Files
aitbc/dev/scripts/patches/patch_mempool4.py
oib 15427c96c0 chore: update file permissions to executable across repository
- Change file mode from 644 to 755 for all project files
- Add chain_id parameter to get_balance RPC endpoint with default "ait-devnet"
- Rename Miner.extra_meta_data to extra_metadata for consistency
2026-03-06 22:17:54 +01:00

12 lines
425 B
Python
Executable File

with open("/home/oib/windsurf/aitbc/apps/blockchain-node/src/aitbc_chain/rpc/router.py", "r") as f:
content = f.read()
# Fix DatabaseMempool.add() call in router.py
content = content.replace(
"tx_hash = mempool.add(tx_dict, chain_id=chain_id)",
"tx_hash = mempool.add(tx_dict, chain_id)"
)
with open("/home/oib/windsurf/aitbc/apps/blockchain-node/src/aitbc_chain/rpc/router.py", "w") as f:
f.write(content)