Skip to content

Commit

Permalink
reserve check
Browse files Browse the repository at this point in the history
  • Loading branch information
jianlinjiang authored and mlbones666 committed Nov 15, 2024
1 parent 622c175 commit 7b15962
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/node/dvfcore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,16 +418,16 @@ impl<E: EthSpec> MessageHandler for DvfDutyCheckHandler<E> {
};
let fee_recipient = block.body().execution_payload().unwrap().fee_recipient();
info!("block proposal full 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(());
// }
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;
}
BlockType::Blinded => {
Expand Down

0 comments on commit 7b15962

Please sign in to comment.