Skip to content

Commit

Permalink
bugfix!: fixed typo (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn authored Feb 7, 2025
1 parent 953963b commit a9a103d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/sign_nep_413_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fn main() -> Result<(), NEARLedgerError> {
display_pub_key(public_key);

let msg = NEP413Payload {
messsage: "Makes it possible to authenticate users without having to add new access keys. This will improve UX, save money and will not increase the on-chain storage of the users' accounts./Makes it possible to authenticate users without having to add new access keys. This will improve UX, save money and will not increase the on-chain storage of the users' accounts./Makes it possible to authenticate users without having to add new access keys. This will improve UX, save money and will not increase the on-chain storage of the users' accounts.".to_string(),
message: "Makes it possible to authenticate users without having to add new access keys. This will improve UX, save money and will not increase the on-chain storage of the users' accounts./Makes it possible to authenticate users without having to add new access keys. This will improve UX, save money and will not increase the on-chain storage of the users' accounts./Makes it possible to authenticate users without having to add new access keys. This will improve UX, save money and will not increase the on-chain storage of the users' accounts.".to_string(),
nonce: [42; 32],
recipient: "alice.near".to_string(),
callback_url: Some("myapp.com/callback".to_string())
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ pub fn sign_transaction(

#[derive(Debug, BorshSerialize)]
pub struct NEP413Payload {
pub messsage: String,
pub message: String,
pub nonce: [u8; 32],
pub recipient: String,
pub callback_url: Option<String>,
Expand Down

0 comments on commit a9a103d

Please sign in to comment.