From 5b507272d5b6b26349dccf17078a6de32983e390 Mon Sep 17 00:00:00 2001 From: CCAI Date: Mon, 19 Jul 2021 14:29:12 +0300 Subject: [PATCH] added cancelOrderV2 to safe transactions --- src/components/SignTransactionFormContent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SignTransactionFormContent.js b/src/components/SignTransactionFormContent.js index 374eb89e..86eae581 100644 --- a/src/components/SignTransactionFormContent.js +++ b/src/components/SignTransactionFormContent.js @@ -47,7 +47,7 @@ function isSafeInstruction(publicKeys, owner, txInstructions) { } else if (instruction.type === 'mango') { // Whitelist mango for now. } else if ( - ['cancelOrder', 'matchOrders', 'cancelOrderV3'].includes( + ['cancelOrder', 'matchOrders', 'cancelOrderV2', 'cancelOrderV3'].includes( instruction.type, ) ) {