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

Method logFinalize

protocol/txvm/log.go:51–53  ·  view source on GitHub ↗
(anchor []byte)

Source from the content-addressed store, hash-verified

49}
50
51func (vm *VM) logFinalize(anchor []byte) {
52 vm.log(Bytes{FinalizeCode}, Bytes(vm.contract.seed), Int(vm.txVersion), Bytes(anchor))
53}
54
55func (vm *VM) logRetirement(amount int64, assetID, anchor []byte) {
56 vm.log(Bytes{RetireCode}, Bytes(vm.contract.seed), Int(amount), Bytes(assetID), Bytes(anchor))

Callers 1

opFinalizeFunction · 0.80

Calls 3

logMethod · 0.95
BytesTypeAlias · 0.85
IntTypeAlias · 0.85

Tested by

no test coverage detected