Fix typos

This commit is contained in:
Franck Royer 2021-07-16 11:26:37 +10:00
parent dd79e0899f
commit 7a641ec4a9
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ There are two ways to send messages:
#### Waku Relay #### Waku Relay
[Waku Relay](https://rfc.vac.dev/spec/11/) is the most decentralised option, [Waku Relay](https://rfc.vac.dev/spec/11/) is the most decentralized option,
peer receiving your messages are unlikely to know whether you are the originator or simply forwarding them. peer receiving your messages are unlikely to know whether you are the originator or simply forwarding them.
However, it does not give you any delivery information. However, it does not give you any delivery information.
@ -178,7 +178,7 @@ const message = await WakuMessage.fromBytes(payload, {
If you expect to receive encrypted messages then simply add private decryption key(s) to `WakuRelay`. If you expect to receive encrypted messages then simply add private decryption key(s) to `WakuRelay`.
Waku Relay will attempt to decrypt incoming messages with each keys, both for symmetric and asymmetric encryption. Waku Relay will attempt to decrypt incoming messages with each keys, both for symmetric and asymmetric encryption.
Messages that are successfully decrypted (or received in clear) will be passed to the observers, other messages will be ommitted. Messages that are successfully decrypted (or received in clear) will be passed to the observers, other messages will be omitted.
```ts ```ts
// Asymmetric // Asymmetric