Skip to content

Commit

Permalink
Fix typos in documentation for Secp256k1 native program
Browse files Browse the repository at this point in the history
  • Loading branch information
nickguo committed Oct 20, 2023
1 parent dd2b1bb commit fc12c95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/developing/runtime-facilities/programs.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ a count of the following struct serialized in the instruction data:

```
struct Secp256k1SignatureOffsets {
secp_signature_key_offset: u16, // offset to [signature,recovery_id,etherum_address] of 64+1+20 bytes
secp_signature_offset: u16, // offset to [signature,recovery_id] of 64+1 bytes
secp_signature_instruction_index: u8, // instruction index to find data
secp_pubkey_offset: u16, // offset to [signature,recovery_id] of 64+1 bytes
secp_pubkey_offset: u16, // offset to ethereum_address of 20 bytes
secp_signature_instruction_index: u8, // instruction index to find data
secp_message_data_offset: u16, // offset to start of message data
secp_message_data_size: u16, // size of message data
Expand Down

0 comments on commit fc12c95

Please sign in to comment.