Sway Lint nitpick

Forc lint and forc build keep giving these warnings that storage variable xyz is never used when this isn’t true (I keep referencing it as storage.variable_name).

Is this something I can avoid or is this a poor programming pattern on my part?

1 Like

This seems like a bug. Seems that you are indeed using balances here. Do you mind producing a small reproducer and filing an issue on Github here? You can also link to a repo containing your contract where this can be reproduced.

1 Like