diff --git a/svc/svc_block_star_chain_settlement.go b/svc/svc_block_star_chain_settlement.go index d57b43d..2e4b06c 100644 --- a/svc/svc_block_star_chain_settlement.go +++ b/svc/svc_block_star_chain_settlement.go @@ -17,9 +17,9 @@ func GetUserCoinAmount(session *xorm.Session, masterId string, coinId, uid int) if err != nil { if err.Error() == "redigo: nil returned" { userVirtualAmount, err := db.GetUserVirtualWalletWithSession(session, uid, coinId) - //if err != nil { - // return amount, err - //} + if err != nil { + return amount, err + } if userVirtualAmount == nil { amount = "0" } else {