OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b5b25
)
optimise
author
oysheng
<oysheng@bytom.io>
Fri, 4 May 2018 01:46:52 +0000
(09:46 +0800)
committer
oysheng
<oysheng@bytom.io>
Fri, 4 May 2018 01:46:52 +0000
(09:46 +0800)
api/query.go
patch
|
blob
|
history
diff --git
a/api/query.go
b/api/query.go
index
3da897a
..
ab370ee
100644
(file)
--- a/
api/query.go
+++ b/
api/query.go
@@
-171,7
+171,7
@@
type RawTx struct {
Outputs []*query.AnnotatedOutput `json:"outputs"`
}
-// POST /get-
transaction-template
+// POST /get-
raw-transaction
func (a *API) getRawTransaction(ctx context.Context, ins struct {
Tx types.Tx `json:"raw_transaction"`
}) Response {