Skip to content

Commit

Permalink
nip46: fix using nil relay pointer when connection fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Sep 11, 2024
1 parent 5e2e0bf commit 1b7f191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nip46/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ func (bunker *BunkerClient) RPC(ctx context.Context, method string, params []str
case hasWorked <- struct{}{}:
default:
}
relay.Publish(ctx, evt)
}
relay.Publish(ctx, evt)
}(url)
}

Expand Down

0 comments on commit 1b7f191

Please sign in to comment.