Commit 5d527518 authored by vipwzw's avatar vipwzw

auto ci

parent 3ffe01ad
......@@ -348,7 +348,6 @@ func jsonOutput(resp types.Message) {
fmt.Println(buf.String())
}
func listUnfreezeCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "list",
......@@ -359,7 +358,6 @@ func listUnfreezeCmd() *cobra.Command {
cmd.Flags().Int32P("count", "", 10, "list count")
cmd.Flags().Int32P("direction", "d", 0, "list direction: 0/1")
cmd.Flags().StringP("create", "c", "", "list by creator")
cmd.Flags().StringP("beneficiary", "b", "", "list by beneficiary")
......
......@@ -5,9 +5,9 @@
package executor
import (
"github.com/33cn/chain33/system/dapp"
"github.com/33cn/chain33/types"
uf "github.com/33cn/plugin/plugin/dapp/unfreeze/types"
"github.com/33cn/chain33/system/dapp"
)
func (u *Unfreeze) execDelLocal(receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error) {
......
......@@ -5,9 +5,9 @@
package executor
import (
"github.com/33cn/chain33/system/dapp"
"github.com/33cn/chain33/types"
uf "github.com/33cn/plugin/plugin/dapp/unfreeze/types"
"github.com/33cn/chain33/system/dapp"
)
func (u *Unfreeze) execLocal(receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error) {
......
......@@ -77,7 +77,7 @@ func NewAddrTable(kvdb dbm.KV) *table.Table {
return t
}
func update(ldb *table.Table, unfreeze *pty.Unfreeze) (error) {
func update(ldb *table.Table, unfreeze *pty.Unfreeze) error {
xs, err := ldb.ListIndex("id", []byte(unfreeze.UnfreezeID), nil, 1, 0)
if err != nil || len(xs) != 1 {
return nil
......@@ -91,7 +91,6 @@ func update(ldb *table.Table, unfreeze *pty.Unfreeze) (error) {
return ldb.Update([]byte(u.TxIndex), u)
}
func list(db dbm.KVDB, indexName string, data *pty.LocalUnfreeze, count, direction int32) ([]*table.Row, error) {
query := NewAddrTable(db).GetQuery(db)
var primary []byte
......
......@@ -97,7 +97,6 @@ func withdraw(unfreeze *pty.Unfreeze, frozen int64) (*pty.Unfreeze, int64) {
return unfreeze, amount
}
type fixAmountV2 struct {
}
......
......@@ -8,9 +8,9 @@ import (
"time"
dbm "github.com/33cn/chain33/common/db"
"github.com/33cn/chain33/common/db/table"
"github.com/33cn/chain33/types"
pty "github.com/33cn/plugin/plugin/dapp/unfreeze/types"
"github.com/33cn/chain33/common/db/table"
)
// Query_GetUnfreezeWithdraw 查询合约可提币量
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment