Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
a783470c
Commit
a783470c
authored
Nov 21, 2018
by
jiangpeng
Committed by
vipwzw
Nov 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
3c6b1738
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
query.go
plugin/dapp/ticket/executor/query.go
+1
-1
ticket.go
plugin/dapp/ticket/types/ticket.go
+0
-8
No files found.
plugin/dapp/ticket/executor/query.go
View file @
a783470c
// Copyright Fuzamei Corp. 2018 All Rights Reserved.
// Use of t
icket
source code is governed by a BSD-style
// Use of t
his
source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package
executor
...
...
plugin/dapp/ticket/types/ticket.go
View file @
a783470c
...
...
@@ -5,7 +5,6 @@
package
types
import
(
"encoding/json"
"errors"
"reflect"
...
...
@@ -104,13 +103,6 @@ func (ticket TicketType) Amount(tx *types.Transaction) (int64, error) {
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
func
(
ticket
*
TicketType
)
GetName
()
string
{
return
TicketX
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment