()
| 158 | } |
| 159 | |
| 160 | private getRelayPublicKey(): string { |
| 161 | const relayPrivkey = getRelayPrivateKey(this.settings().info.relay_url) |
| 162 | return getPublicKey(relayPrivkey) |
| 163 | } |
| 164 | |
| 165 | private canAcceptEvent(event: Event): boolean { |
| 166 | if (this.getRelayPublicKey() === event.pubkey) { |
no test coverage detected