Skip to content

Commit

Permalink
Merge pull request #60 from helius-labs/fix/get-transaction
Browse files Browse the repository at this point in the history
[Fix] getTransaction Issue
  • Loading branch information
0xIchigo authored Feb 17, 2024
2 parents ab4bb19 + 0ec2420 commit 1adce49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/utils/handle-run.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 1adce49

Please sign in to comment.