omni / tokenbridge-contracts

Smart contracts for TokenBridge
http://docs.tokenbridge.net
GNU General Public License v3.0
228 stars 227 forks source link

Update ERC677MultiBridgeToken.sol #683

Open 0xScratch opened 1 year ago

0xScratch commented 1 year ago

Made 2 changes in this particular file:

1st: changed uint256 counter = 0; to uint256 counter; , cuz default value of any variable if it's a uint used to be 0, It's just a waste of gas to initialize it with 0. Believe it or not, this do save some amount of gas.

2nd: into -> in, just a grammatical fix

Thanks!