Most of the solidity contracts have an init function that everyone can call. This could lead to a race condition when the contract is deployed. At that moment a ...
I get wary whenever I see a Go package using an init function. Init functions can be helpful in certain situations, but most people misuse them. What is an Init function? 🤔 In Go, the function init() ...