neo-project / neo-devpack-dotnet

NEO Development Pack
MIT License
79 stars 100 forks source link

[DevPack Compiler Optimize] fix push bool #1065

Closed Jim8y closed 2 months ago

Jim8y commented 2 months ago

This pr mainly fix the push bool issue, previously, it pushes 1 or 0 and then convert it to boolean, but actually we can directly use PUSHT and PUSHF.

steven1227 commented 2 months ago

Awesome fix!