Skip to content

Commit

Permalink
Update src/Neo/SmartContract/Native/GasToken.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon authored Jan 23, 2025
1 parent 4af93c8 commit ae6ad54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Neo/SmartContract/Native/GasToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ internal override async ContractTask OnPersistAsync(ApplicationEngine engine)
var notaryAssisted = tx.GetAttribute<NotaryAssisted>();
if (notaryAssisted is not null)
{
totalNetworkFee -= (notaryAssisted.NKeys + 1) * Policy.GetAttributeFee(engine.Snapshot, (byte)notaryAssisted.Type);
totalNetworkFee -= (notaryAssisted.NKeys + 1) * Policy.GetAttributeFee(engine.SnapshotCache, (byte)notaryAssisted.Type);
}
}
ECPoint[] validators = NEO.GetNextBlockValidators(engine.SnapshotCache, engine.ProtocolSettings.ValidatorsCount);
Expand Down

0 comments on commit ae6ad54

Please sign in to comment.