OSDN Git Service

add comments
authorHAOYUatHZ <haoyu@protonmail.com>
Sat, 8 Jun 2019 14:17:27 +0000 (22:17 +0800)
committerHAOYUatHZ <haoyu@protonmail.com>
Sat, 8 Jun 2019 14:17:27 +0000 (22:17 +0800)
federation/synchron/block_processor.go

index c07e69e..1e51ff3 100644 (file)
@@ -181,6 +181,7 @@ func getCrossChainInputs(ormTxID uint64, tx *btmTypes.Tx) []*orm.CrossTransactio
                        continue
                }
 
+               // default null SidechainTxID, which will be set after submitting cross_in tx on sidechain
                input := &orm.CrossTransactionInput{
                        MainchainTxID: ormTxID,
                        SourcePos:     uint64(i),