Skip to content

Commit

Permalink
fix: Fix block policy source
Browse files Browse the repository at this point in the history
  • Loading branch information
OnedgeLee committed Jul 2, 2024
1 parent f5f370f commit 1074278
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Lib9c.Policy/Policy/BlockPolicySource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,7 @@ internal IBlockPolicy GetPolicy(
.GetWorldState()
.GetBalance(MeadConfig.PatronAddress, Currencies.Mead) < 1 * Currencies.Mead)
{
// Check admin
if (IsAdminTransaction(blockChain, transaction))
{
return null;
}
return null;
}

if (!(transaction.MaxGasPrice is { } gasPrice && transaction.GasLimit is { } gasLimit))
Expand Down

0 comments on commit 1074278

Please sign in to comment.