neo icon indicating copy to clipboard operation
neo copied to clipboard

Handle https://github.com/neo-project/neo/issues/2528

Open Hecate2 opened this issue 4 months ago • 15 comments

Description

If we use < instead of <=, there is always possibility to bully the GC.

Fixes #2528 VwEAwkpKAfsHdwARwG8AnXcAbwAl9////xHAzwJwlAAAdwAQzm8AnXcAbwAl9////0U=

Type of change

  • [x] Optimization (the change is only an optimization)
  • [x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

invoke script VwEAwkpKAfsHdwARwG8AnXcAbwAl9////xHAzwJwlAAAdwAQzm8AnXcAbwAl9////0U=

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes
  • [x] Any dependent changes have been merged and published in downstream modules

Hecate2 avatar Oct 09 '24 03:10 Hecate2