@trustvc/trustvc 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -187,7 +187,7 @@ const acceptReturned = /* @__PURE__ */ __name(async (contractOptions, signer, pa
|
|
|
187
187
|
const encryptedRemarks = remarks && isV5TT ? `0x${core.encrypt(remarks, options.id)}` : "0x";
|
|
188
188
|
try {
|
|
189
189
|
const isV6 = ethers.isV6EthersProvider(signer.provider);
|
|
190
|
-
const args = isV5TT ? [encryptedRemarks] : [];
|
|
190
|
+
const args = isV5TT ? [tokenId, encryptedRemarks] : [tokenId];
|
|
191
191
|
if (isV6) {
|
|
192
192
|
await tradeTrustTokenContract.burn.staticCall(...args);
|
|
193
193
|
} else {
|
|
@@ -185,7 +185,7 @@ const acceptReturned = /* @__PURE__ */ __name(async (contractOptions, signer, pa
|
|
|
185
185
|
const encryptedRemarks = remarks && isV5TT ? `0x${encrypt(remarks, options.id)}` : "0x";
|
|
186
186
|
try {
|
|
187
187
|
const isV6 = isV6EthersProvider(signer.provider);
|
|
188
|
-
const args = isV5TT ? [encryptedRemarks] : [];
|
|
188
|
+
const args = isV5TT ? [tokenId, encryptedRemarks] : [tokenId];
|
|
189
189
|
if (isV6) {
|
|
190
190
|
await tradeTrustTokenContract.burn.staticCall(...args);
|
|
191
191
|
} else {
|