diff --git a/modules/smithy/api_trade.go b/modules/smithy/api_trade.go index f8a8329c2..a86b1eafc 100644 --- a/modules/smithy/api_trade.go +++ b/modules/smithy/api_trade.go @@ -35,12 +35,6 @@ func (this *apiComp) Sell(session comm.IUserSession, req *pb.SmithySellReq) (err Code: code, Title: code.ToString(), } - } else { - errdata = &pb.ErrorData{ - Code: pb.ErrorCode_DBError, - Title: pb.ErrorCode_DBError.ToString(), - } - return } conf, err := this.module.configure.GetSmithyCustomerConf(req.CustomerId)