From 4cf0ff5fe55449b0c53afc9d341dcb13c5caf17d Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Tue, 6 Oct 2020 09:26:43 -0400 Subject: [PATCH] remove unused file transactionReceiptResolver.js --- .../src/lib/transactionReceiptResolver.js | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 apps/remix-ide/src/lib/transactionReceiptResolver.js diff --git a/apps/remix-ide/src/lib/transactionReceiptResolver.js b/apps/remix-ide/src/lib/transactionReceiptResolver.js deleted file mode 100644 index 06d1e08cdd..0000000000 --- a/apps/remix-ide/src/lib/transactionReceiptResolver.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict' - -module.exports = class TransactionReceiptResolver { - constructor (blockchain) { - this._transactionReceipts = {} - this.blockchain = blockchain - } - - resolve (tx, cb) { - if (this._transactionReceipts[tx.hash]) { - return cb(null, this._transactionReceipts[tx.hash]) - } - this.blockchain.web3().eth.getTransactionReceipt(tx.hash, (error, receipt) => { - if (!error) { - this._transactionReceipts[tx.hash] = receipt - cb(null, receipt) - } else { - cb(error) - } - }) - } -} -