diff --git a/packages/plugins/transaction-logger/src/index.js b/packages/plugins/transaction-logger/src/index.js index d5eaf4587..ffe8a183c 100644 --- a/packages/plugins/transaction-logger/src/index.js +++ b/packages/plugins/transaction-logger/src/index.js @@ -131,6 +131,9 @@ class TransactionLogger { // This is the normal case. If we don't get here, it's because we missed a TX dataObject = Object.assign(dataObject, this.transactions[args.respData.result.transactionHash]); delete this.transactions[args.respData.result.transactionHash]; // No longer needed + } else { + // Was not a eth_getTransactionReceipt in the context of a transaction + return; } } else { dataObject = args.reqData.params[0];