Closed PavelInjective closed 1 month ago
The changes in the pull request focus on simplifying the path resolution for the OFAC list in the client/chain/ofac.go
file. The previous method involved traversing the directory structure to locate the necessary file, while the new implementation directly utilizes a function to construct the path, enhancing clarity and reducing complexity in the code.
File | Change Summary |
---|---|
client/chain/ofac.go | Simplified the path resolution for the OFAC list by using getFileAbsPath instead of a loop to traverse directories. |
getOfacListPath
function in client/chain/ofac.go
, relevant to the path resolution updates in this PR.In the code where paths do roam,
A rabbit found a simpler home.
No more loops to twist and bend,
Just a path that leads to the end.
Hopping through with joy and cheer,
OFAC lists are now quite clear! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit