@@ -2724,8 +2724,6 @@ impl BlockchainNode {
27242724 // validation through consensus rules, not cryptographic signature
27252725 // v2.65: System TX get MAX priority (u64::MAX) to ensure inclusion in block
27262726 // v7.0: Build wallet→delta accrual map for emission TX
2727- // Source of truth: on-chain NodeRegistration TX cached in RocksDB
2728- // All node types (genesis/light/super) have NodeRegistration TX on-chain
27292727 let accrual_wallet_map: std::collections::BTreeMap<String, u64> = {
27302728 let accruals = reward_manager.get_last_epoch_accruals();
27312729 let mut wmap = std::collections::BTreeMap::new();
@@ -4404,7 +4402,6 @@ impl BlockchainNode {
44044402 // v7.0: update_pending_rewards REMOVED — rewards applied via emission TX in block execution
44054403
44064404 // v7.0: Build wallet→delta map for emission TX accruals
4407- // Source of truth: on-chain NodeRegistration TX cached in RocksDB
44084405 let accrual_wallet_map: std::collections::BTreeMap<String, u64> = {
44094406 let accruals = reward_manager.get_last_epoch_accruals();
44104407 let mut wmap = std::collections::BTreeMap::new();
@@ -14374,7 +14371,7 @@ impl BlockchainNode {
1437414371 let accruals = reward_mgr.get_last_epoch_accruals();
1437514372 let mut wallet_map = std::collections::BTreeMap::<String, u64>::new();
1437614373 for (nid, &amt) in accruals.iter() {
14377- if let Ok(Some((_ , wallet, _ ))) = storage.load_node_registration(nid) {
14374+ if let Ok(Some((_nt , wallet, _rep ))) = storage.load_node_registration(nid) {
1437814375 if !wallet.is_empty() {
1437914376 *wallet_map.entry(wallet).or_insert(0) += amt;
1438014377 }
0 commit comments