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:
f41e99c
)
clean
author
HAOYUatHZ
<haoyu@protonmail.com>
Fri, 21 Jun 2019 03:11:03 +0000
(11:11 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Fri, 21 Jun 2019 03:11:03 +0000
(11:11 +0800)
federation/warder.go
patch
|
blob
|
history
diff --git
a/federation/warder.go
b/federation/warder.go
index
0e7c900
..
0f66d4f
100644
(file)
--- a/
federation/warder.go
+++ b/
federation/warder.go
@@
-316,7
+316,7
@@
func (w *warder) getSigns(destTx interface{}, ormTx *orm.CrossTransaction) ([]st
var signs []string
for _, data := range signData {
var sign []byte
- // vaporBc.Hash & btmBc.Hash
marshal
in the same way
+ // vaporBc.Hash & btmBc.Hash
are marshaled
in the same way
msg := &vaporBc.Hash{}
if err := msg.UnmarshalText([]byte(data)); err != nil {
return nil, errors.Wrap(err, "Unmarshal signData")
@@
-346,7
+346,6
@@
func (w *warder) attachSignsForTx(destTx interface{}, ormTx *orm.CrossTransactio
Signatures: string(b),
Status: common.CrossTxSignCompletedStatus,
}).Error
-
}
// TODO: