From 635e4ceb53a9d85cf5c9cfa393064ad43b99f259 Mon Sep 17 00:00:00 2001 From: cebgcontract <99630598+cebgcontract@users.noreply.github.com> Date: Sat, 16 Apr 2022 12:53:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E4=B8=AA=E5=8D=87?= =?UTF-8?q?=E7=BA=A7=E6=97=B6=E7=AD=BE=E5=90=8D=E6=B2=A1=E4=BD=9C=E5=BA=9F?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contracts/EvolveProxy.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contracts/EvolveProxy.sol b/contracts/EvolveProxy.sol index 7fa6fa3..109ca26 100644 --- a/contracts/EvolveProxy.sol +++ b/contracts/EvolveProxy.sol @@ -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]); }