Skip to content

Commit

Permalink
Ganache does not include from in receipts (#400).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jan 24, 2019
1 parent 9f201c3 commit b5f720a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.ts/providers/base-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ function checkTransactionReceiptLog(log: any): any {

const formatTransactionReceipt = {
to: allowNull(getAddress, null),
from: getAddress,
from: allowNull(getAddress, null), // Gaanche does not populate this (#400)
contractAddress: allowNull(getAddress, null),
transactionIndex: checkNumber,
root: allowNull(checkHash),
Expand Down

0 comments on commit b5f720a

Please sign in to comment.