Skip to content

Commit

Permalink
Fix OnTransactionResult panic
Browse files Browse the repository at this point in the history
  • Loading branch information
kacpersaw committed Jul 7, 2024
1 parent 57937f9 commit 30f71c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ func (s *Storage) OnTransactionResult(res *pb.TransactionResult, state *pb.Trans
tx, err := model.NewTransactionResult(res, state, s.NetworkInfo)
if err != nil {
log.Err(fmt.Errorf("OnTransactionResult: error %v", err))
return
}

err = s.SaveTransactionResult(context.Background(), tx)
Expand Down

0 comments on commit 30f71c6

Please sign in to comment.