mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
rm unneccessary var
This commit is contained in:
parent
4c5beb4670
commit
a463b32a4b
1 changed files with 1 additions and 2 deletions
|
|
@ -1764,8 +1764,7 @@ func (api *TransactionAPI) SendRawTransactionSync(ctx context.Context, input hex
|
||||||
resetSettle(settleInterval)
|
resetSettle(settleInterval)
|
||||||
|
|
||||||
case <-settleCh:
|
case <-settleCh:
|
||||||
r, getErr := api.GetTransactionReceipt(receiptCtx, hash)
|
if r, err := api.GetTransactionReceipt(receiptCtx, hash); err == nil && r != nil {
|
||||||
if r != nil && getErr == nil {
|
|
||||||
return r, nil
|
return r, nil
|
||||||
}
|
}
|
||||||
resetSettle(settleInterval)
|
resetSettle(settleInterval)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue