Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Daksh14 committed May 31, 2024
1 parent bb75560 commit 4e097f8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified assets/dusk_wallet_core.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion src/compat/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub fn check_note_ownership(args: i32, len: i32) -> i64 {

last_pos = core::cmp::max(last_pos, *note.pos());

for idx in 0..=MAX_KEY {
for idx in 0..MAX_KEY {
if view_keys[idx].owns(&note) {
let sk = secret_keys[idx];
let nullifier = note.gen_nullifier(&sk);
Expand Down
2 changes: 1 addition & 1 deletion tests/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fn execute_works() {
"openings": openings,
"output": {
"note_type": "Obfuscated",
"receiver": &keys[1],
"receiver": &keys[0],
"ref_id": 15,
"value": 10,
},
Expand Down

0 comments on commit 4e097f8

Please sign in to comment.