Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DOBEN committed Nov 22, 2023
1 parent d2e66bb commit a10a10e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/cis3-nft-sponsored-txs/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fn test_inside_signature_permit_update_operator() {

// The `viewMessageHash` function uses the same input parameter `PermitParam` as
// the `permit` function. The `PermitParam` type includes a `signature` and
// a `signer`. Becuase these two values (`signature` and `signer`) are not
// a `signer`. Because these two values (`signature` and `signer`) are not
// read in the `viewMessageHash` function, any value can be used and we choose
// to use `DUMMY_SIGNATURE` and `ALICE` in the test case below.
let signature_map = BTreeMap::from([(0u8, CredentialSignatures {
Expand Down Expand Up @@ -259,7 +259,7 @@ fn test_inside_signature_permit_transfer() {

// The `viewMessageHash` function uses the same input parameter `PermitParam` as
// the `permit` function. The `PermitParam` type includes a `signature` and
// a `signer`. Becuase these two values (`signature` and `signer`) are not
// a `signer`. Because these two values (`signature` and `signer`) are not
// read in the `viewMessageHash` function, any value can be used and we choose
// to use `DUMMY_SIGNATURE` and `ALICE` in the test case below.
let signature_map = BTreeMap::from([(0u8, CredentialSignatures {
Expand Down Expand Up @@ -706,7 +706,7 @@ fn test_nonce_of_query() {

// The `viewMessageHash` function uses the same input parameter `PermitParam` as
// the `permit` function. The `PermitParam` type includes a `signature` and
// a `signer`. Becuase these two values (`signature` and `signer`) are not
// a `signer`. Because these two values (`signature` and `signer`) are not
// read in the `viewMessageHash` function, any value can be used and we choose
// to use `DUMMY_SIGNATURE` and `ALICE` in the test case below.
inner_signature_map.insert(0u8, concordium_std::Signature::Ed25519(DUMMY_SIGNATURE));
Expand Down

0 comments on commit a10a10e

Please sign in to comment.