Commit a783470c authored by jiangpeng's avatar jiangpeng Committed by vipwzw

fix bug

parent 3c6b1738
// Copyright Fuzamei Corp. 2018 All Rights Reserved. // Copyright Fuzamei Corp. 2018 All Rights Reserved.
// Use of ticket source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package executor package executor
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
package types package types
import ( import (
"encoding/json"
"errors" "errors"
"reflect" "reflect"
...@@ -104,13 +103,6 @@ func (ticket TicketType) Amount(tx *types.Transaction) (int64, error) { ...@@ -104,13 +103,6 @@ func (ticket TicketType) Amount(tx *types.Transaction) (int64, error) {
return 0, nil return 0, nil
} }
// CreateTx create tx
func (ticket *TicketType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error) {
// TODO 暂时不修改实现, 先完成结构的重构
var tx *types.Transaction
return tx, nil
}
// GetName get name // GetName get name
func (ticket *TicketType) GetName() string { func (ticket *TicketType) GetName() string {
return TicketX return TicketX
......
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