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

Function opAnd

protocol/txvm/boolean.go:8–12  ·  view source on GitHub ↗
(vm *VM)

Source from the content-addressed store, hash-verified

6}
7
8func opAnd(vm *VM) {
9 q := vm.popBool()
10 p := vm.popBool()
11 vm.pushBool(p && q)
12}
13
14func opOr(vm *VM) {
15 q := vm.popBool()

Callers

nothing calls this directly

Calls 2

popBoolMethod · 0.80
pushBoolMethod · 0.80

Tested by

no test coverage detected