node: remove unused error return from Attach (#27450)

node: Delete the unused error from return parameters of Node.Attach() func
This commit is contained in:
Sanghee Choi
2023-06-14 08:24:47 -04:00
committed by GitHub
parent 6f08c2f3f1
commit acc2a2ac61
8 changed files with 10 additions and 29 deletions
+1 -4
View File
@@ -110,10 +110,7 @@ func newTester(t *testing.T, confOverride func(*ethconfig.Config)) *tester {
if err = stack.Start(); err != nil {
t.Fatalf("failed to start test stack: %v", err)
}
client, err := stack.Attach()
if err != nil {
t.Fatalf("failed to attach to node: %v", err)
}
client := stack.Attach()
prompter := &hookedPrompter{scheduler: make(chan string)}
printer := new(bytes.Buffer)