Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
187
func
(tpl *Template) Rollback() {
188
for
_, f :=
range
tpl.rollbacks {
189
f()
190
}
191
}
192
193
// Commit runs any pending template callbacks.
194
func
(tpl *Template) Commit() error {
Callers
1
Commit
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected