Skip to content

Commit

Permalink
#1142: Fix solana transaction source address (#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
walker-16 authored Mar 7, 2024
1 parent 2bec07b commit e7e191b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tx-tracker/chains/api_solana.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "" {
Expand Down

0 comments on commit e7e191b

Please sign in to comment.