diff --git a/Lib9c.Policy/NCStagePolicy.cs b/Lib9c.Policy/NCStagePolicy.cs index dac09c7ad1..a1f5f73f8b 100644 --- a/Lib9c.Policy/NCStagePolicy.cs +++ b/Lib9c.Policy/NCStagePolicy.cs @@ -16,7 +16,7 @@ public class NCStagePolicy : IStagePolicy private readonly ConcurrentDictionary> _txs; private readonly int _quotaPerSigner; - private static readonly ImmutableHashSet
_bannedAccounts = new[] + public ImmutableHashSet
BannedAccounts = new[] { new Address("de96aa7702a7a1fd18ee0f84a5a0c7a2c28ec840"), new Address("153281c93274bEB9726A03C33d3F19a8D78ad805"), @@ -97,7 +97,7 @@ public IEnumerable 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; }