Sohail/fix duplicate token entry base 0.4.0 (#3)

* feat: remove unique token check from register fn

* tests: add duplicate entry test

- add FOO
- add FOO

* bump: v0.4.1
This commit is contained in:
2022-06-23 12:22:57 +03:00
committed by GitHub
parent 179a6d4e03
commit 9bad5b5ccf
4 changed files with 32 additions and 8 deletions

View File

@@ -55,9 +55,6 @@ contract TokenUniqueSymbolIndexAddressDeclarator {
require(ok);
require(r[31] == 0x01);
idx = registry[token_symbol_key];
require(idx == 0);
registry[token_symbol_key] = tokens.length;
tokens.push(_token);