We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb26d3d + 76d29dc commit 542c73dCopy full SHA for 542c73d
1 file changed
src/controllers/requests/requests.ts
@@ -994,7 +994,7 @@ export class RequestsController extends EventEmitter implements IRequestsControl
994
const atomicRequired = isWalletSendCalls && !!request.params[0].atomicRequired
995
if (isWalletSendCalls && atomicRequired && baseAcc.getAtomicStatus() === 'unsupported') {
996
throw ethErrors.provider.custom({
997
- code: 5700,
+ code: 4999, // the custom code should be in the required range by the lib
998
message: 'Transaction failed - atomicity is not supported for this account'
999
})
1000
}
0 commit comments