eth/downloader, eth/tracer: fix typos in comments (#29707)

This commit is contained in:
trillo 2024-05-29 21:43:07 +09:00 committed by GitHub
parent 06263b1b35
commit 2f0e63e5ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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{