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:
be7cf00
)
fix
author
HAOYUatHZ
<haoyu@protonmail.com>
Tue, 18 Jun 2019 10:39:50 +0000
(18:39 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Tue, 18 Jun 2019 10:39:50 +0000
(18:39 +0800)
federation/warder.go
patch
|
blob
|
history
diff --git
a/federation/warder.go
b/federation/warder.go
index
2b5365c
..
55fd8e2
100644
(file)
--- a/
federation/warder.go
+++ b/
federation/warder.go
@@
-241,7
+241,7
@@
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}).Error; err == nil {
+ if err := w.db.Where(&orm.CrossTransactionSign{CrossTransactionID: ormTx.ID}).
First(&orm.CrossTransactionSign{}).
Error; err == nil {
return nil
}