interlock-network / interlock-smartcontracts

Interlock Network smart contracts live here.
GNU General Public License v3.0
4 stars 6 forks source link

replace pool indices with enum #231

Closed blairmunroakusa closed 1 year ago

blairmunroakusa commented 1 year ago

Per KS-INT-11

This is straight forward:

Instead create guards for index range.

blairmunroakusa commented 1 year ago

Not possible to pass enum values to function, so the enum approach is not valid.

blairmunroakusa commented 1 year ago

Will instead include guards to check for out of bound indices.

blairmunroakusa commented 1 year ago

Complete via PR 232.