properly print transactions with empty data (#389)

This commit is contained in:
hana 2021-09-04 16:41:00 -05:00 committed by GitHub
parent 634fdd435e
commit 3266b339c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ const toInstruction = async (
index: number, index: number,
) => { ) => {
if ( if (
!instruction?.data || instruction?.data == null ||
!instruction?.accounts || !instruction?.accounts ||
!instruction?.programIdIndex !instruction?.programIdIndex
) { ) {