OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a44959f
)
update source in crossInAction.Build
author
HAOYUatHZ
<haoyu@protonmail.com>
Tue, 21 May 2019 03:00:54 +0000
(11:00 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Tue, 21 May 2019 03:00:54 +0000
(11:00 +0800)
account/builder.go
patch
|
blob
|
history
diff --git
a/account/builder.go
b/account/builder.go
index
1738416
..
c316bc4
100644
(file)
--- a/
account/builder.go
+++ b/
account/builder.go
@@
-33,7
+33,8
@@
func (m *Manager) DecodeCrossInAction(data []byte) (txbuilder.Action, error) {
type crossInAction struct {
bc.AssetAmount
// Address string `json:"address"`
- SourcePos uint64 `json:"source_position"`
+ SourceID string `json:"source_id"` // AnnotatedUTXO
+ SourcePos uint64 `json:"source_pos"`
}
func (a *crossInAction) Build(ctx context.Context, b *txbuilder.TemplateBuilder) error {