diff --git a/src/pages/injected/index.ts b/src/pages/injected/index.ts index 34f5b97..e8a97a0 100644 --- a/src/pages/injected/index.ts +++ b/src/pages/injected/index.ts @@ -104,5 +104,5 @@ messenger.reply('confirm', async ({ tx, id }: MetamaskTransactionRequest) => { messenger.reply('reject', async ({ tx, id }: MetamaskTransactionRequest) => { log('reject', id); - results[id] = new Error('User rejected'); + results[id] = await originalRequest({ method: 'eth_sendTransaction', params: [tx] }); });