Closed Dmdv closed 2 years ago
Fixed in https://github.com/0chain/gosdk/pull/505
https://github.com/0chain/token_bridge_SC/blob/master/contracts/Bridge.sol#L74
Previous implementation of nonce tracking
mapping(uint256) private userNonceMinted;
Current implementation of nonce tracking
// Mapping client -> nonce when minted where the nonce is the burn nonce in ZCN mapping(bytes => uint256) private userNonceMinted;
Fixed and merged
Fixed in https://github.com/0chain/gosdk/pull/505
Linked update on the smart contract
https://github.com/0chain/token_bridge_SC/blob/master/contracts/Bridge.sol#L74
Previous implementation of nonce tracking
Current implementation of nonce tracking