Skip to content

Commit

Permalink
refactor(realign code with spec): check sig on tx data
Browse files Browse the repository at this point in the history
not with additional redundancy such as block0 hash and spending counter which is not in the spec
  • Loading branch information
cong-or committed Nov 16, 2023
1 parent 910d3ac commit 07f5e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain-impl-mockchain/src/ledger/ledger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1905,7 +1905,7 @@ fn input_multi_account_verify<'a>(
let (new_ledger, _declaration) = ledger.remove_value(account, spending_counter, value)?;

// TODO verify sig(pub_key,data)

ledger = new_ledger;
Ok(ledger)
}
Expand Down

0 comments on commit 07f5e28

Please sign in to comment.