Commit 41c55a94 authored by vipwzw's avatar vipwzw

auto ci

parent a6f167d9
......@@ -441,7 +441,7 @@ func (a *action) Commit(commit *pt.ParacrossCommitAction) (*types.Receipt, error
}
haveCrossTxs := len(commit.Status.CrossTxHashs) > 0
if commit.Status.Height > 0 && types.IsDappFork(commit.Status.MainBlockHeight, pt.ParaX, pt.ForkCommitTx) && len(commit.Status.CrossTxHashs[0]) == 0{
if commit.Status.Height > 0 && types.IsDappFork(commit.Status.MainBlockHeight, pt.ParaX, pt.ForkCommitTx) && len(commit.Status.CrossTxHashs[0]) == 0 {
haveCrossTxs = false
}
......
......@@ -86,7 +86,7 @@ func FilterTxsForPara(title string, main *types.BlockDetail) []*types.Transactio
continue
}
//单独的paracross tx 如果主链执行失败也要排除
if main.Block.Height >= forkHeight && !checkReceiptExecOk(main.Receipts[i]){
if main.Block.Height >= forkHeight && !checkReceiptExecOk(main.Receipts[i]) {
continue
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment