From fae8c1549ff69894fa99a60e4d9839950435f7d6 Mon Sep 17 00:00:00 2001 From: Chengcheng Zhang <943420582@qq.com> Date: Tue, 2 Jul 2019 14:59:28 +0800 Subject: [PATCH] update --- database/account_store.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/database/account_store.go b/database/account_store.go index 3478516e..18e2d636 100644 --- a/database/account_store.go +++ b/database/account_store.go @@ -1,9 +1,7 @@ package database import ( - "encoding/hex" "encoding/json" - "fmt" "strings" log "github.com/sirupsen/logrus" @@ -241,8 +239,6 @@ func (store *AccountStore) ListControlPrograms() ([]*acc.CtrlProgram, error) { for cpIter.Next() { cp := new(acc.CtrlProgram) - v := hex.EncodeToString(cpIter.Value()) - fmt.Println("v:", v) if err := json.Unmarshal(cpIter.Value(), cp); err != nil { return nil, err } -- 2.11.0