Ganache does not include from in receipts (#400).

This commit is contained in:
Richard Moore 2019-01-24 16:52:24 -05:00
parent 9f201c386e
commit b5f720ace6
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295

@ -315,7 +315,7 @@ function checkTransactionReceiptLog(log: any): any {
const formatTransactionReceipt = { const formatTransactionReceipt = {
to: allowNull(getAddress, null), to: allowNull(getAddress, null),
from: getAddress, from: allowNull(getAddress, null), // Gaanche does not populate this (#400)
contractAddress: allowNull(getAddress, null), contractAddress: allowNull(getAddress, null),
transactionIndex: checkNumber, transactionIndex: checkNumber,
root: allowNull(checkHash), root: allowNull(checkHash),