diff --git a/apps/blockchain-node/src/aitbc_chain/consensus/poa.py b/apps/blockchain-node/src/aitbc_chain/consensus/poa.py index 14ad42a0..22924a02 100755 --- a/apps/blockchain-node/src/aitbc_chain/consensus/poa.py +++ b/apps/blockchain-node/src/aitbc_chain/consensus/poa.py @@ -151,7 +151,7 @@ class PoAProposer: tx_data = tx.content sender = tx_data.get("sender") recipient = tx_data.get("payload", {}).get("to") - value = tx_data.get("payload", {}).get("value", 0) + value = tx_data.get("payload", {}).get("amount", 0) # Fixed: use "amount" instead of "value" fee = tx_data.get("fee", 0) if not sender or not recipient: