diff --git a/cmd/faucet/faucet.go b/cmd/faucet/faucet.go index 6a64e174f..4f8a6c939 100644 --- a/cmd/faucet/faucet.go +++ b/cmd/faucet/faucet.go @@ -642,7 +642,7 @@ func (f *faucet) loop() { f.lock.RUnlock() } }() - // Wait for various events and assing to the appropriate background threads + // Wait for various events and assign to the appropriate background threads for { select { case head := <-heads: diff --git a/cmd/utils/history_test.go b/cmd/utils/history_test.go index ba206e982..084d137a9 100644 --- a/cmd/utils/history_test.go +++ b/cmd/utils/history_test.go @@ -83,7 +83,7 @@ func TestHistoryImportAndExport(t *testing.T) { t.Fatalf("unable to initialize chain: %v", err) } if _, err := chain.InsertChain(blocks); err != nil { - t.Fatalf("error insterting chain: %v", err) + t.Fatalf("error inserting chain: %v", err) } // Make temp directory for era files. diff --git a/signer/fourbyte/abi.go b/signer/fourbyte/abi.go index 352abc59e..bdfbd05a1 100644 --- a/signer/fourbyte/abi.go +++ b/signer/fourbyte/abi.go @@ -98,7 +98,7 @@ func parseCallData(calldata []byte, unescapedAbidata string) (*decodedCallData, if len(argdata)%32 != 0 { return nil, fmt.Errorf("invalid call data; length should be a multiple of 32 bytes (was %d)", len(argdata)) } - // Validate the called method and upack the call data accordingly + // Validate the called method and unpack the call data accordingly abispec, err := abi.JSON(strings.NewReader(unescapedAbidata)) if err != nil { return nil, fmt.Errorf("invalid method signature (%q): %v", unescapedAbidata, err)