Skip to content

Commit

Permalink
Merge pull request scaffold-eth#602 from scaffold-eth/add-optimism-tr…
Browse files Browse the repository at this point in the history
…ansactor-notify

Add Optimism kovan and mainnet chain ids to transactor notify
  • Loading branch information
codenamejason authored Dec 8, 2021
2 parents ca720f5 + 68518c4 commit 5440e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-app/src/helpers/Transactor.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function Transactor(providerOrSigner, gasPrice, etherscan) {
}

// if it is a valid Notify.js network, use that, if not, just send a default notification
if (notify && [1, 3, 4, 5, 42, 100].indexOf(network.chainId) >= 0) {
if (notify && [1, 3, 4, 5, 10, 42, 69, 100].indexOf(network.chainId) >= 0) {
const { emitter } = notify.hash(result.hash);
emitter.on("all", transaction => {
return {
Expand Down

0 comments on commit 5440e67

Please sign in to comment.