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

Method Rollback

protocol/txbuilder/template.go:187–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185}
186
187func (tpl *Template) Rollback() {
188 for _, f := range tpl.rollbacks {
189 f()
190 }
191}
192
193// Commit runs any pending template callbacks.
194func (tpl *Template) Commit() error {

Callers 1

CommitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected