@deeeed/metamask-harness 0.94.5 → 0.94.6
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.
package/CHANGELOG.md
CHANGED
|
@@ -294,7 +294,7 @@ export async function closeVisiblePosition(input) {
|
|
|
294
294
|
roundingToleranceBaseUnits,
|
|
295
295
|
...(cleanupOnly ? { positionSize: fundingPositionSize, cleanupOnly: true } : {}),
|
|
296
296
|
});
|
|
297
|
-
const cleanupMarket =
|
|
297
|
+
const cleanupMarket = identity.network === 'testnet' ? market : null;
|
|
298
298
|
const closeBudget = trustedExternalMutationBudget(input, 'perps-close-position');
|
|
299
299
|
const existingReceipt = await readExternalMutationReceipt(input, identity);
|
|
300
300
|
if (existingReceipt) {
|