Skip to content

Commit

Permalink
Update 2-Wasm-Meta-Protocol-Slides.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MBerguer authored Jan 18, 2024
1 parent 76f7f2e commit 6d6b222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syllabus/5-Substrate/2-Wasm-Meta-Protocol-Slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ let runtime = wasm::Executor::new(code);
let mut block: NodeBlock = Default::default();

// repeatedly apply transactions.
while let Some(next_transaction) = transaction_pool_iter::next() {
while let Some(next_ext) = transaction_pool_iter::next() {
state.execute(|| {
if runtime.apply_extrinsic(next_ext).is_ok() {
block.extrinsics.push(next_ext);
Expand Down

0 comments on commit 6d6b222

Please sign in to comment.