Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support null PersistingBlock in NeoToken.DistributeGas #1880

Merged
merged 1 commit into from
Aug 28, 2020
Merged

Support null PersistingBlock in NeoToken.DistributeGas #1880

merged 1 commit into from
Aug 28, 2020

Commits on Aug 27, 2020

  1. NeoToken.DistributeGas supports null PersistingBlock

    When running under the debugger, engine.Snapshot.PersistingBlock will be null. This leads to a null ref exception in NeoToken.DistributeGas. This change updates NeoToken.DistributeGas to be a no-op instead of throwing an exception when engine.Snapshot.PersistingBlock is null.
    devhawk committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    30853e0 View commit details
    Browse the repository at this point in the history