Skip to content

Commit

Permalink
Merge pull request #12 from nicksavers/master
Browse files Browse the repository at this point in the history
Corrected spelling of Receipt
  • Loading branch information
conor10 authored Nov 10, 2016
2 parents 9118ac7 + 97a4f38 commit 498d242
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/trouble.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Troubleshooting
I'm submitting a transaction, but it's not being mined
------------------------------------------------------
After creating and sending a transaction, you receive a transaction hash, however calling
`eth_getTransactionReciept <https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_gettransactionreceipt>`_
`eth_getTransactionReceipt <https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_gettransactionreceipt>`_
always returns a blank value, indicating the transaction has not been mined::

String transactionHash = sendTransaction(...);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ TransactionReceipt waitForTransactionReceipt(
getTransactionReceipt(transactionHash, SLEEP_DURATION, ATTEMPTS);

if (!transactionReceiptOptional.isPresent()) {
fail("Transaction reciept not generated after " + ATTEMPTS + " attempts");
fail("Transaction receipt not generated after " + ATTEMPTS + " attempts");
}

return transactionReceiptOptional.get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void testTransferEther() throws Exception {
}

/*
Valid transaction reciept:
Valid transaction receipt:
"{"jsonrpc":"2.0",
"id":1,
"result":{
Expand Down

0 comments on commit 498d242

Please # to comment.