Merge pull request #4931 from mempool/nymkappa/additional-error-message

add additional error message
This commit is contained in:
wiz 2024-04-09 14:50:05 +09:00 committed by GitHub
commit d5b0adeeed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,6 +21,7 @@ const MempoolErrors = {
'txid_not_in_mempool': `This transaction is not in the mempool.`,
'waitlisted': `You are currently on the wait list. You will get notified once you are granted access.`,
'not_whitelisted_by_any_pool': `You are not whitelisted by any mining pool`,
'unauthorized': `You are not authorized to do this`,
} as { [error: string]: string };
export function isMempoolError(error: string) {