修正一个升级时签名没作废的bug
This commit is contained in:
parent
ce0b9065a7
commit
635e4ceb53
@ -88,6 +88,7 @@ contract EvolveProxy is Ownable, Initializable, HasSignature {
|
||||
if (tokenIds[2] > 0) {
|
||||
chip.burn(msg.sender, tokenIds[2]);
|
||||
}
|
||||
usedSignatures[signature] = true;
|
||||
emit TokenEvolved(evolveEventId, msg.sender, tokenIds[0], tokenIds[1], tokenIds[2]);
|
||||
}
|
||||
|
||||
@ -132,6 +133,7 @@ contract EvolveProxy is Ownable, Initializable, HasSignature {
|
||||
if (tokenIds[2] > 0) {
|
||||
chip.burn(msg.sender, tokenIds[2]);
|
||||
}
|
||||
usedSignatures[signature] = true;
|
||||
emit TokenEvolved(evolveEventId, msg.sender, tokenIds[0], tokenIds[1], tokenIds[2]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user