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:
2109f2b
)
draft
author
HAOYUatHZ
<haoyu@protonmail.com>
Thu, 20 Jun 2019 09:10:23 +0000
(17:10 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Thu, 20 Jun 2019 09:10:23 +0000
(17:10 +0800)
federation/warder.go
patch
|
blob
|
history
diff --git
a/federation/warder.go
b/federation/warder.go
index
05112c6
..
5a1416b
100644
(file)
--- a/
federation/warder.go
+++ b/
federation/warder.go
@@
-278,7
+278,12
@@
func (w *warder) signDestTx(destTx interface{}, ormTx *orm.CrossTransaction) err
return errors.New("cross-chain tx status error")
}
- return nil
+ _ /*signData*/, err := w.getSignData(destTx)
+ if err != nil {
+ return errors.New("getSignData")
+ }
+
+ return w.db.Model(nil).Where(nil).UpdateColumn(nil).Error
}
func (w *warder) getSignData(destTx interface{}) ([]string, error) {