wrap a line on relay_interface.go
This commit is contained in:
@@ -44,7 +44,8 @@ func (w RelayWrapper) Publish(ctx context.Context, evt nostr.Event) (nostr.Statu
|
||||
}
|
||||
if previous := <-ch; previous != nil {
|
||||
if err := w.Store.DeleteEvent(ctx, previous); err != nil {
|
||||
return nostr.PublishStatusFailed, fmt.Errorf("failed to delete event for parameterized replacing: %w", err)
|
||||
return nostr.PublishStatusFailed,
|
||||
fmt.Errorf("failed to delete event for parameterized replacing: %w", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user