Skip to content

Commit

Permalink
logic checked if the transaction does get signed locally on call of '…
Browse files Browse the repository at this point in the history
…eth.sendTransaction' and eth types tests updated
  • Loading branch information
nivida committed Dec 4, 2019
1 parent cce490a commit eba77c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web3-eth/types/tests/eth.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,12 +379,12 @@ eth.getTransactionCount(

const code = '603d80600c6000396000f3007c0';

// $ExpectType PromiEvent<TransactionReceipt | RevertInstructionError>
// $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
eth.sendTransaction({
from: '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe',
data: 'code'
});
// $ExpectType PromiEvent<TransactionReceipt | RevertInstructionError>
// $ExpectType PromiEvent<TransactionReceipt | TransactionRevertInstructionError>
eth.sendTransaction(
{
from: '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe',
Expand Down

0 comments on commit eba77c2

Please sign in to comment.