Skip to content

Commit

Permalink
Merge pull request #2037 from safe-global/GH-2036/fix-safetxhash
Browse files Browse the repository at this point in the history
GH-2036 fixed safeTxHash calculation for the 'swap order' transaction
  • Loading branch information
DmitryBespalov authored May 27, 2024
2 parents ecce94c + e325a9b commit 830a8bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/src/main/java/io/gnosis/data/utils/SafeTxHash.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ fun calculateSafeTxHash(
is TransactionInfo.SettingsChange -> {
safeAddress
}
is TransactionInfo.SwapOrder -> {
safeAddress
}
else -> {
throw UnsupportedTransactionType(transaction::javaClass.name)
}
Expand Down

0 comments on commit 830a8bf

Please sign in to comment.