Skip to content

Commit 8a029f7

Browse files
authored
Merge branch 'master' into disUD4-1
2 parents f27311f + e387f46 commit 8a029f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/remix-ide/src/blockchain/execution-context.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ export class ExecutionContext {
9999
callback && callback(err, { id, name, lastBlock: this.lastBlock, currentFork: this.currentFork })
100100
return resolve({ id, name, lastBlock: this.lastBlock, currentFork: this.currentFork })
101101
}).catch((error) => {
102-
callback && callback(error)
103-
return reject(error)
102+
// Rabby wallet throws an error at this point. We are in that case unable to check the genesis hash.
103+
callback && callback(err, { id, name, lastBlock: this.lastBlock, currentFork: this.currentFork })
104+
return resolve({ id, name, lastBlock: this.lastBlock, currentFork: this.currentFork })
104105
})
105106
} else {
106107
callback && callback(err, { id, name, lastBlock: this.lastBlock, currentFork: this.currentFork })

0 commit comments

Comments
 (0)