diff --git a/dist/index.js b/dist/index.js index 45c4bbc..0058c97 100644 --- a/dist/index.js +++ b/dist/index.js @@ -11443,13 +11443,13 @@ async function run() { } const take = await pattini.take(issueNumber, amount, recipientAddress); const takeReceipt = await take.wait(1); - const message = `The wallet address ${recipientAddress} has been set to an issue. https://sepolia-optimism.etherscan.io/address/${takeReceipt.hash}`; + const message = `The wallet address ${recipientAddress} has been set to an issue. https://sepolia-optimism.etherscan.io/tx/${takeReceipt.hash}`; console.log(message); } else if (action === 'pull_request') { const pay = await pattini.pay(issueNumber, parseInt(pullRequestNumber)); const payReceipt = await pay.wait(1); - const message = `The person who created the ${issueNumberDataSplit} branch has just received a reward. https://sepolia-optimism.etherscan.io/address/${payReceipt.hash}`; + const message = `The person who created the ${issueNumberDataSplit} branch has just received a reward. https://sepolia-optimism.etherscan.io/tx/${payReceipt.hash}`; console.log(message); } } diff --git a/src/main.ts b/src/main.ts index a8de89c..102c39d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -72,12 +72,12 @@ export async function run(): Promise { const take = await pattini.take(issueNumber, amount, recipientAddress) const takeReceipt = await take.wait(1) - const message = `The wallet address ${recipientAddress} has been set to an issue. https://sepolia-optimism.etherscan.io/address/${takeReceipt.hash}` + const message = `The wallet address ${recipientAddress} has been set to an issue. https://sepolia-optimism.etherscan.io/tx/${takeReceipt.hash}` console.log(message) } else if (action === 'pull_request') { const pay = await pattini.pay(issueNumber, parseInt(pullRequestNumber)) const payReceipt = await pay.wait(1) - const message = `The person who created the ${issueNumberDataSplit} branch has just received a reward. https://sepolia-optimism.etherscan.io/address/${payReceipt.hash}` + const message = `The person who created the ${issueNumberDataSplit} branch has just received a reward. https://sepolia-optimism.etherscan.io/tx/${payReceipt.hash}` console.log(message) } } catch (error) {