From 3b5f1334a8a568520dd0da7b9901c71966a569b1 Mon Sep 17 00:00:00 2001 From: jianlinjiang Date: Mon, 4 Nov 2024 02:41:25 +0000 Subject: [PATCH] remove fee recipient check --- src/node/dvfcore.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/node/dvfcore.rs b/src/node/dvfcore.rs index a8ae9d8..814ec02 100644 --- a/src/node/dvfcore.rs +++ b/src/node/dvfcore.rs @@ -447,16 +447,6 @@ impl MessageHandler for DvfDutyCheckHandler { }; let fee_recipient = block.body().execution_payload().unwrap().fee_recipient(); info!("block proposal blinded block, va pubic key {}, fee recipient {}", hex::encode(check_msg.pubkey.clone()), format!("{0:0x}", fee_recipient)); - if !self.db.check_validator_fee_recipient(check_msg.pubkey, fee_recipient).await.unwrap() { - reply( - writer, - DutySafety::Invalid, - format!("fee recipient is not consistent"), - ) - .await; - error!("fee recipient is not consistent"); - return Ok(()); - } self.sign_block(writer, block, check_msg.domain_hash).await; } };