Merge pull request #4573 from yyforyongyu/small-fix

trivial: remove unused print
This commit is contained in:
Oliver Gugger 2020-08-28 13:05:39 +02:00 committed by GitHub
commit 7a15131715
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -442,7 +442,6 @@ func (b *boltArbitratorLog) CurrentState() (ArbitratorState, error) {
// //
// NOTE: Part of the ContractResolver interface. // NOTE: Part of the ContractResolver interface.
func (b *boltArbitratorLog) CommitState(s ArbitratorState) error { func (b *boltArbitratorLog) CommitState(s ArbitratorState) error {
fmt.Printf("yeee: %T\n", b.db)
return kvdb.Batch(b.db, func(tx kvdb.RwTx) error { return kvdb.Batch(b.db, func(tx kvdb.RwTx) error {
scopeBucket, err := tx.CreateTopLevelBucket(b.scopeKey[:]) scopeBucket, err := tx.CreateTopLevelBucket(b.scopeKey[:])
if err != nil { if err != nil {