@gearbox-protocol/sdk 2.1.3 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/TokensData.sol +1 -1
- package/package.json +1 -1
package/contracts/TokensData.sol
CHANGED
|
@@ -1020,7 +1020,7 @@ contract TokensDataLive {
|
|
|
1020
1020
|
return tokenDataByNetwork[block.chainid];
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
|
-
function getNetworkId()
|
|
1023
|
+
function getNetworkId() external view returns (uint256) {
|
|
1024
1024
|
if (block.chainid == 1337 || block.chainid == 31337) {
|
|
1025
1025
|
uint256 len = connectedNetworks.length;
|
|
1026
1026
|
for (uint256 i = 0; i < len; i++) {
|