mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-02 00:45:55 +00:00
fix(@embark/transaction-logger): don't show logs for stray receipts
This commit is contained in:
parent
6ee2ca2b8d
commit
395ae83f9c
@ -131,6 +131,9 @@ class TransactionLogger {
|
|||||||
// This is the normal case. If we don't get here, it's because we missed a TX
|
// 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]);
|
dataObject = Object.assign(dataObject, this.transactions[args.respData.result.transactionHash]);
|
||||||
delete this.transactions[args.respData.result.transactionHash]; // No longer needed
|
delete this.transactions[args.respData.result.transactionHash]; // No longer needed
|
||||||
|
} else {
|
||||||
|
// Was not a eth_getTransactionReceipt in the context of a transaction
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
dataObject = args.reqData.params[0];
|
dataObject = args.reqData.params[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user