From 0ec24202fd05648a3bbc21840ab59f7145022879 Mon Sep 17 00:00:00 2001 From: 0xIchigo <0xIchigo@protonmail.com> Date: Thu, 15 Feb 2024 15:32:40 -0500 Subject: [PATCH] Fix getTransaction --- src/lib/utils/handle-run.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/utils/handle-run.js b/src/lib/utils/handle-run.js index e964f64..45821c7 100644 --- a/src/lib/utils/handle-run.js +++ b/src/lib/utils/handle-run.js @@ -87,6 +87,10 @@ export async function handleRun(selectedMethod, params, currentRPC) { { programId: mint }, { encoding: encoding }, ]; + } else if (methodData.name === "getTransaction") { + const signature = requestParams["signature"]; + delete requestParams["signature"]; + requestData.params = [signature, requestParams]; } const result = await callRPC(requestData, rpcUrlValue);