Skip to content

Commit e233db4

Browse files
authored
small typo correction (#213)
* small typo correction * Update spacing
1 parent b98b0f8 commit e233db4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

openrpc.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ methods:
218218
- $ref: '#/components/tags/Experimental'
219219
summary: Revokes the current dapp permissions.
220220
description: >-
221-
Revokes previously granted permissions for the current dapp identified by
221+
Revokes previously granted permissions for the current dapp identified by its
222222
origin. This method is specified by
223223
[MIP-2](https://github.com/MetaMask/metamask-improvement-proposals/blob/main/MIPs/mip-2.md)
224224
and is only available for the browser extension.
@@ -779,7 +779,7 @@ methods:
779779
title: Transaction
780780
description: >-
781781
The parameters to customize a transaction. If a `to` address is not
782-
provided. It will be assumed that the transaction is a contract
782+
provided, it will be assumed that the transaction is a contract
783783
creation transaction, and the `data` field of the transaction will
784784
be used as the contract initialization code. `gasPrice` cannot be
785785
used together with `maxPriorityFeePerGas` and `maxFeePerGas`.
@@ -860,7 +860,9 @@ methods:
860860
description: |-
861861
This method is deprecated and may be removed in the future.
862862
863-
Requests that MetaMask decrypt the specified encrypted message. The message must have been encrypted using the public encryption key of the specified Ethereum address. Returns a promise that resolves to the decrypted message, or rejects if the decryption attempt fails.
863+
Requests that MetaMask decrypt the specified encrypted message.
864+
The message must have been encrypted using the public encryption key of the specified Ethereum address.
865+
Returns a promise that resolves to the decrypted message, or rejects if the decryption attempt fails.
864866
params:
865867
- name: EncryptedMessage
866868
required: true
@@ -899,7 +901,9 @@ methods:
899901
description: |-
900902
This method is deprecated and may be removed in the future.
901903
902-
Requests that the user share their public encryption key. Returns a public encryption key, or rejects if the user denies the request. The public key is computed from entropy associated with the specified user account, using the NaCl implementation of the `X25519_XSalsa20_Poly1305` algorithm.
904+
Requests that the user share their public encryption key.
905+
Returns a public encryption key, or rejects if the user denies the request.
906+
The public key is computed from entropy associated with the specified user account, using the NaCl implementation of the `X25519_XSalsa20_Poly1305` algorithm.
903907
params:
904908
- name: Address
905909
required: true

0 commit comments

Comments
 (0)