File tree 1 file changed +1
-2
lines changed
crates/aranya-policy-vm/src
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ pub struct RunState<'a, M: MachineIO<MachineStack>> {
297
297
pc : usize ,
298
298
/// I/O callbacks
299
299
io : & ' a RefCell < M > ,
300
- /// Execution Contexts (actually used for more than Commands)
300
+ /// Execution Context (actually used for more than Commands)
301
301
ctx : CommandContext < ' a > ,
302
302
// Cursors for `QueryStart` results
303
303
query_iter_stack : Vec < M :: QueryIterator > ,
@@ -825,7 +825,6 @@ where
825
825
}
826
826
Instruction :: Serialize => {
827
827
let command_struct: Struct = self . ipop ( ) ?;
828
- // NOTE: we don't pop the context; it needs to remain on the stack for the seal FFI call.
829
828
let CommandContext :: Seal ( SealContext { name, .. } ) = self . ctx else {
830
829
return Err ( self . err ( MachineErrorType :: BadState ( "Serialize: no seal context" ) ) ) ;
831
830
} ;
You can’t perform that action at this time.
0 commit comments