From 3266b339c450cb5b2fd938e534a6eef55a3241e3 Mon Sep 17 00:00:00 2001 From: hana <81144685+2501babe@users.noreply.github.com> Date: Sat, 4 Sep 2021 16:41:00 -0500 Subject: [PATCH] properly print transactions with empty data (#389) --- src/utils/transactions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/transactions.ts b/src/utils/transactions.ts index 9e4e1fc..b722b90 100644 --- a/src/utils/transactions.ts +++ b/src/utils/transactions.ts @@ -73,7 +73,7 @@ const toInstruction = async ( index: number, ) => { if ( - !instruction?.data || + instruction?.data == null || !instruction?.accounts || !instruction?.programIdIndex ) {