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:
ee9862c
)
clean
author
HAOYUatHZ
<haoyu@protonmail.com>
Tue, 18 Jun 2019 10:43:17 +0000
(18:43 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Tue, 18 Jun 2019 10:43:17 +0000
(18:43 +0800)
federation/warder.go
patch
|
blob
|
history
diff --git
a/federation/warder.go
b/federation/warder.go
index
55fd8e2
..
a9e2d2c
100644
(file)
--- a/
federation/warder.go
+++ b/
federation/warder.go
@@
-241,10
+241,6
@@
func (w *warder) addInputWitness(tx interface{}) {
}
func (w *warder) initDestTxSigns(destTx interface{}, ormTx *orm.CrossTransaction) error {
- if err := w.db.Where(&orm.CrossTransactionSign{CrossTransactionID: ormTx.ID}).First(&orm.CrossTransactionSign{}).Error; err == nil {
- return nil
- }
-
crossTxSigns := []*orm.CrossTransactionSign{}
for i := 1; i <= len(w.remotes)+1; i++ {
crossTxSigns = append(crossTxSigns, &orm.CrossTransactionSign{