Skip to content

Commit

Permalink
revert timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
canercidam committed Feb 1, 2018
1 parent 155a424 commit 35a2a31
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions geth/transactions/txqueue_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ func (m *Manager) WaitForTransaction(tx *common.QueuedTx) error {
// - or times out
select {
case <-tx.Done:
// TODO: Please reconsider this before merging.
//case <-time.After(DefaultTxSendCompletionTimeout * time.Second):
case <-time.After(time.Second):
case <-time.After(DefaultTxSendCompletionTimeout * time.Second):
m.txDone(tx, gethcommon.Hash{}, queue.ErrQueuedTxTimedOut)
}
return tx.Err
Expand Down

0 comments on commit 35a2a31

Please sign in to comment.