Skip to content

Commit

Permalink
add missing sanitation for failed deferred transaction traces (#121)
Browse files Browse the repository at this point in the history
* improve the block sanitation

* remove accidentally removed sanitize
  • Loading branch information
fschoell authored Feb 8, 2024
1 parent 7e53af4 commit 73f25e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/fireantelope/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ func sanitizeBlockForCompare(block *pbantelope.Block) *pbantelope.Block {
}

if trxTrace.FailedDtrxTrace != nil {
trxTrace.FailedDtrxTrace.Elapsed = 101010
sanitizeException(trxTrace.FailedDtrxTrace.Exception)
for _, actTrace := range trxTrace.FailedDtrxTrace.ActionTraces {
actTrace.Elapsed = 111111
sanitizeException(actTrace.Exception)
}
}
Expand Down

0 comments on commit 73f25e6

Please sign in to comment.