MCPcopy Create free account
hub / github.com/chain/txvm / opVerify

Function opVerify

protocol/txvm/control.go:17–22  ·  view source on GitHub ↗
(vm *VM)

Source from the content-addressed store, hash-verified

15)
16
17func opVerify(vm *VM) {
18 b := vm.popBool()
19 if !b {
20 panic(ErrVerifyFail)
21 }
22}
23
24func opJumpIf(vm *VM) {
25 offset := int64(vm.popInt())

Callers

nothing calls this directly

Calls 1

popBoolMethod · 0.80

Tested by

no test coverage detected