Index: state/constraints.go |
=== modified file 'state/constraints.go' |
--- state/constraints.go 2013-05-30 00:47:30 +0000 |
+++ state/constraints.go 2013-06-13 07:59:07 +0000 |
@@ -75,7 +75,7 @@ |
func writeConstraints(st *State, id string, cons constraints.Value) error { |
ops := []txn.Op{setConstraintsOp(st, id, cons)} |
- if err := st.runner.Run(ops, "", nil); err != nil { |
+ if err := st.runTransaction(ops); err != nil { |
return fmt.Errorf("cannot set constraints: %v", err) |
} |
return nil |