Browse Source

add 区块星链

tags/v2.1.9
DengBiao 2 years ago
parent
commit
61a79ee559
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      rule/block_star_chain_settlement.go

+ 6
- 0
rule/block_star_chain_settlement.go View File

@@ -709,5 +709,11 @@ func DealLotteryDraw(session *xorm.Session, req md.DealLotteryDrawReq) (err erro
_ = session.Rollback() _ = session.Rollback()
return err return err
} }
err = session.Commit()
if err != nil {
_ = session.Rollback()
return errors.New("事务提交失败")
}

return nil return nil
} }

Loading…
Cancel
Save