Skip to content

Commit

Permalink
extend to 5 sec timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ewansheldon committed Sep 25, 2023
1 parent d10aa8b commit f78378c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ let startBlock;
let endBlock;
let tokenDecs = {};

const twoSecTimeout = _ => {
const fiveSecTimeout = _ => {
return new Promise((resolve, reject) => {
setTimeout(() => {
return reject(new Error('timeout'));
}, 2000);
}, 5000);
});
}

Expand Down

0 comments on commit f78378c

Please sign in to comment.