- Remove executable permissions from configuration files (.editorconfig, .env.example, .gitignore) - Remove executable permissions from documentation files (README.md, LICENSE, SECURITY.md) - Remove executable permissions from web assets (HTML, CSS, JS files) - Remove executable permissions from data files (JSON, SQL, YAML, requirements.txt) - Remove executable permissions from source code files across all apps - Add executable permissions to Python
21 lines
668 B
Diff
21 lines
668 B
Diff
--- a/apps/blockchain-node/src/aitbc_chain/consensus/poa.py
|
|
+++ b/apps/blockchain-node/src/aitbc_chain/consensus/poa.py
|
|
@@ -171,7 +171,7 @@
|
|
)
|
|
|
|
# Broadcast the new block
|
|
- gossip_broker.publish(
|
|
+ await gossip_broker.publish(
|
|
"blocks",
|
|
{
|
|
"height": block.height,
|
|
@@ -207,7 +207,7 @@
|
|
session.commit()
|
|
|
|
# Broadcast genesis block for initial sync
|
|
- gossip_broker.publish(
|
|
+ await gossip_broker.publish(
|
|
"blocks",
|
|
{
|
|
"height": genesis.height,
|