OSDN Git Service

fix
authorHAOYUatHZ <haoyu@protonmail.com>
Sat, 8 Jun 2019 14:19:15 +0000 (22:19 +0800)
committerHAOYUatHZ <haoyu@protonmail.com>
Sat, 8 Jun 2019 14:19:15 +0000 (22:19 +0800)
federation/synchron/attach_block_processor.go

index 244be9e..00913a4 100644 (file)
@@ -63,7 +63,7 @@ func (p *attachBlockProcessor) processDepositFromMainchain(txIndex uint64, tx *b
                MuxID:          muxID.String(),
                TxHash:         tx.ID.String(),
                RawTransaction: string(rawTx),
-               // Status         uint8
+               Status:         common.CrossTxCompletedStatus,
        }
        if err := p.db.Create(ormTx).Error; err != nil {
                p.db.Rollback()