Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Added another error log, dont panic
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Jun 6, 2022
1 parent ba82076 commit b26e9ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions model_sync_transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,8 @@ func processBroadcastTransaction(ctx context.Context, syncTx *SyncTransaction) e
ctx, "", syncTx.ID, syncTx.GetOptions(false)...,
); err != nil {
return err
} else if transaction == nil {
return errors.New("transaction was expected but not found, using ID: " + syncTx.ID)
}

// Broadcast
Expand Down

0 comments on commit b26e9ed

Please sign in to comment.