Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chain/txvm
/ popZeroValue
Method
popZeroValue
protocol/txvm/values.go:125–131 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
123
}
124
125
func
(vm *VM) popZeroValue() *value {
126
v := vm.popValue()
127
if
!v.isZero() {
128
panic(errors.WithData(ErrAnchorVal,
"asset"
, v.assetID,
"amount"
, v.amount))
129
}
130
return
v
131
}
Callers
2
opFinalize
Function · 0.80
opIssue
Function · 0.80
Calls
3
popValue
Method · 0.95
WithData
Function · 0.92
isZero
Method · 0.80
Tested by
no test coverage detected