Cyfrin / solidity-by-example.github.io

Solidity By Example
https://solidity-by-example.org/
MIT License
605 stars 191 forks source link

`tokens` is never initialized #258

Closed YanhuiJessica closed 1 year ago

YanhuiJessica commented 1 year ago

https://github.com/solidity-by-example/solidity-by-example.github.io/blob/1e22f13c3c68f489231e0ca0f856b0290bd7a80f/src/pages/defi/stable-swap-amm/StableSwap.sol#L48

The array tokens in the StableSwap is never initialized. Is that intended?

t4sk commented 1 year ago

fixed. thanks