Skip to content

Commit

Permalink
watcher: continue upon error
Browse files Browse the repository at this point in the history
  • Loading branch information
jazg committed Oct 7, 2020
1 parent 98888b7 commit b3f7ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watcher/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (watcher Watcher) watchLogShiftOuts(parent context.Context) {
params, err := watcher.burnToParams(iter.Event.Raw.TxHash.Bytes(), pack.NewU256FromU64(pack.NewU64(amount)), pack.String(to), nonceBytes, watcher.gpubkey)
if err != nil {
watcher.logger.Errorf("[watcher] cannot get params from burn transaction (to=%v, amount=%v, nonce=%v): %v", to, amount, nonce, err)
return
continue
}
response := watcher.resolver.SubmitTx(ctx, 0, &params, nil)
if response.Error != nil {
Expand Down

0 comments on commit b3f7ec2

Please sign in to comment.