Skip to content

Commit

Permalink
Corrected typo in calling between programs document (solana-labs#16991)
Browse files Browse the repository at this point in the history
* Corrected typo in calling between programs document

* corrected another typo

Co-authored-by: Srinivas Valekar <[email protected]>
  • Loading branch information
valekar and Srinivas Valekar authored May 2, 2021
1 parent da81ad0 commit c003f8e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Program derived address:
such a way that no external user can generate valid transactions with
signatures for those addresses.

2. Allow programs to programmatically sign for programa addresses that are
2. Allow programs to programmatically sign for program addresses that are
present in instructions invoked via [Cross-Program Invocations](#cross-program-invocations).

Given the two conditions, users can securely transfer or assign the authority of
Expand All @@ -175,7 +175,7 @@ Program addresses are deterministically derived from a collection of seeds and a
program id using a 256-bit pre-image resistant hash function. Program address
must not lie on the ed25519 curve to ensure there is no associated private key.
During generation an error will be returned if the address is found to lie on
the curve. There is about a 50/50 change of this happening for a given
the curve. There is about a 50/50 chance of this happening for a given
collection of seeds and program id. If this occurs a different set of seeds or
a seed bump (additional 8 bit seed) can be used to find a valid program address
off the curve.
Expand Down

0 comments on commit c003f8e

Please sign in to comment.