eth/downloader, eth/tracer: fix typos in comments (#29707)
This commit is contained in:
parent
06263b1b35
commit
2f0e63e5ac
|
@ -129,7 +129,7 @@ func (api *DownloaderAPI) eventLoop() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Syncing provides information when this nodes starts synchronising with the Ethereum network and when it's finished.
|
// Syncing provides information when this node starts synchronising with the Ethereum network and when it's finished.
|
||||||
func (api *DownloaderAPI) Syncing(ctx context.Context) (*rpc.Subscription, error) {
|
func (api *DownloaderAPI) Syncing(ctx context.Context) (*rpc.Subscription, error) {
|
||||||
notifier, supported := rpc.NotifierFromContext(ctx)
|
notifier, supported := rpc.NotifierFromContext(ctx)
|
||||||
if !supported {
|
if !supported {
|
||||||
|
|
|
@ -312,7 +312,7 @@ func TestTraceCall(t *testing.T) {
|
||||||
config: &TraceCallConfig{TxIndex: uintPtr(1)},
|
config: &TraceCallConfig{TxIndex: uintPtr(1)},
|
||||||
expectErr: fmt.Errorf("tracing failed: insufficient funds for gas * price + value: address %s have 1000000000000000000 want 1000000000000000100", accounts[2].addr),
|
expectErr: fmt.Errorf("tracing failed: insufficient funds for gas * price + value: address %s have 1000000000000000000 want 1000000000000000100", accounts[2].addr),
|
||||||
},
|
},
|
||||||
// After the target transaction, should be succeed
|
// After the target transaction, should be succeeded
|
||||||
{
|
{
|
||||||
blockNumber: rpc.BlockNumber(genBlocks - 1),
|
blockNumber: rpc.BlockNumber(genBlocks - 1),
|
||||||
call: ethapi.TransactionArgs{
|
call: ethapi.TransactionArgs{
|
||||||
|
|
Loading…
Reference in New Issue