style: x/genutil: CollectTxs should move []os.DirEntry close to where it is used and also reuse valAccAddr as key to balancesMap #17814
Labels
Type: Code Hygiene
General cleanup and restructuring of code to provide clarity, flexibility, and modularity.
Is there an existing issue for this?
What happened?
This is a stylistic nit but also makes the code much better
Move []os.DirEntry closest to where it is used
Please see
cosmos-sdk/x/genutil/collect.go
Lines 79 to 99 in 86ab989
and fix it up like this
Cosmos SDK Version
86ab989
How to reproduce?
No response
The text was updated successfully, but these errors were encountered: