Skip to content

Commit

Permalink
hash in create multilple skd txs
Browse files Browse the repository at this point in the history
  • Loading branch information
afalaleev committed Dec 5, 2024
1 parent 57efe7b commit b822e55
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ fn parse_instruction(signer: &Operator, instruction: &[u8]) -> TreeInitializer {
let (gas_limit, value, child_index, success_limit, hash) =
arrayref::array_refs![chunk, 32, 32, 2, 2, 32];

if nodes.len() == 0 {
log_data(&[b"HASH", hash]);
}

nodes.push(NodeInitializer {
transaction_hash: *hash,
sender: payer,
Expand Down

0 comments on commit b822e55

Please sign in to comment.