NethermindEth / near-sffl

https://nffl.nethermind.io/
MIT License
6 stars 3 forks source link

Capture `err` for proper check #189

Closed emlautarom1 closed 1 month ago

emlautarom1 commented 1 month ago

There are certain cases where we are not properly setting the usual err variable to the latest error, making checks (if err != nil) useless since they're double-checking the same error.