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:
855436e
)
emm
author
HAOYUatHZ
<haoyu@protonmail.com>
Tue, 18 Jun 2019 08:02:25 +0000
(16:02 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Tue, 18 Jun 2019 08:02:25 +0000
(16:02 +0800)
federation/warder.go
patch
|
blob
|
history
diff --git
a/federation/warder.go
b/federation/warder.go
index
14cbfe7
..
495dedb
100644
(file)
--- a/
federation/warder.go
+++ b/
federation/warder.go
@@
-247,9
+247,9
@@
func (w *warder) addInputWitness(tx interface{}) {
}
// TODO: fix WarderID
+// TODO: 事务?
func (w *warder) initDestTxSigns(destTx interface{}, ormTx *orm.CrossTransaction) error {
for _, remote := range w.remotes {
-
if err := w.db.Create(&orm.CrossTransactionSign{
CrossTransactionID: ormTx.ID,
WarderID: remote.Position,