Skip to content

Commit

Permalink
update stage policy
Browse files Browse the repository at this point in the history
  • Loading branch information
area363 committed Sep 4, 2023
1 parent 8132d80 commit e7d8e4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib9c.Policy/NCStagePolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class NCStagePolicy : IStagePolicy
private readonly ConcurrentDictionary<Address, SortedList<Transaction, TxId>> _txs;
private readonly int _quotaPerSigner;

private static readonly ImmutableHashSet<Address> _bannedAccounts = new[]
public ImmutableHashSet<Address> BannedAccounts = new[]
{
new Address("de96aa7702a7a1fd18ee0f84a5a0c7a2c28ec840"),
new Address("153281c93274bEB9726A03C33d3F19a8D78ad805"),
Expand Down Expand Up @@ -97,7 +97,7 @@ public IEnumerable<Transaction> Iterate(BlockChain blockChain, bool filtered = t

public bool Stage(BlockChain blockChain, Transaction transaction)
{
if (_bannedAccounts.Contains(transaction.Signer))
if (BannedAccounts.Contains(transaction.Signer))
{
return false;
}
Expand Down

0 comments on commit e7d8e4a

Please sign in to comment.