Skip to content

Commit

Permalink
#1994 format code
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Jan 16, 2025
1 parent 7ae83b6 commit b800595
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions libethereum/BlockChain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1736,15 +1736,13 @@ VerifiedBlockRef BlockChain::verifyBlock( bytesConstRef _block,
for ( RLP const& tr : r[1] ) {
bytesConstRef d = bytesRefFromTransactionRlp( tr );
try {
auto blockTimestamp = this->info( numberHash( h.number() - 1 ) ).timestamp();
Transaction t( d,
( _ir & ImportRequirements::TransactionSignatures ) ?
CheckTransaction::Everything :
CheckTransaction::None,
false,
EIP1559TransactionsPatch::isEnabledWhen(
this->info( numberHash( h.number() - 1 ) ).timestamp() ),
MaxFeePerGasPatch::isEnabledWhen(
this->info( numberHash( h.number() - 1 ) ).timestamp() ) );
false, EIP1559TransactionsPatch::isEnabledWhen( blockTimestamp ),
MaxFeePerGasPatch::isEnabledWhen( blockTimestamp ) );
Ethash::verifyTransaction( chainParams(), _ir, t,
this->info( numberHash( h.number() - 1 ) ).timestamp(), h,
0 ); // the gasUsed vs
Expand Down

0 comments on commit b800595

Please sign in to comment.