OSDN Git Service

emm
authorHAOYUatHZ <haoyu@protonmail.com>
Tue, 18 Jun 2019 08:02:25 +0000 (16:02 +0800)
committerHAOYUatHZ <haoyu@protonmail.com>
Tue, 18 Jun 2019 08:02:25 +0000 (16:02 +0800)
federation/warder.go

index 14cbfe7..495dedb 100644 (file)
@@ -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,