From e7e191b8fc0e496e34de3f77cedbd35c762e74d4 Mon Sep 17 00:00:00 2001 From: walker-16 Date: Thu, 7 Mar 2024 11:21:26 -0300 Subject: [PATCH] #1142: Fix solana transaction source address (#1182) --- tx-tracker/chains/api_solana.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tx-tracker/chains/api_solana.go b/tx-tracker/chains/api_solana.go index 31b8f1e8..230f5092 100644 --- a/tx-tracker/chains/api_solana.go +++ b/tx-tracker/chains/api_solana.go @@ -141,6 +141,9 @@ func (a *apiSolana) fetchSolanaTx( for i := range response.Transaction.Message.AccountKeys { if response.Transaction.Message.AccountKeys[i].Signer { txDetail.From = response.Transaction.Message.AccountKeys[i].Pubkey + // https://github.com/wormhole-foundation/wormhole-explorer/issues/1142 + // we get the first signer as the origintx from. + break } } if txDetail.From == "" {