| 170 | } |
| 171 | |
| 172 | DexOperatorDetail GetDexOperator(const DexID &dexId) { |
| 173 | DexOperatorDetail operatorDetail; |
| 174 | if (!pCdMan->pDexCache->GetDexOperator(dexId, operatorDetail)) |
| 175 | throw JSONRPCError(RPC_INVALID_PARAMETER, strprintf("the dex operator does not exist! dex_id=%u", |
| 176 | dexId)); |
| 177 | return operatorDetail; |
| 178 | } |
| 179 | |
| 180 | void CheckOrderAmount(const TokenSymbol &symbol, const uint64_t amount, const char *pSymbolSide) { |
| 181 |
no test coverage detected