protofsm: don't return error on broadcast fail

We don't return an error on broadcast fail as the broadcast might have
failed due to insufficient fees, or inability to be replaced, which may
happen when one side attempts to unnecessarily bump their coop close
fee.
This commit is contained in:
Olaoluwa Osuntokun 2024-03-07 20:05:49 -08:00
parent daed552bf1
commit a4064c70dc

View File

@ -436,7 +436,7 @@ func (s *StateMachine[Event, Env]) executeDaemonEvent(ctx context.Context,
daemonEvent.Tx, daemonEvent.Label,
)
if err != nil {
return fmt.Errorf("unable to broadcast txn: %w", err)
log.Errorf("unable to broadcast txn: %v", err)
}
return nil