mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
console: correct typo and add comments
This commit is contained in:
parent
8471b88dea
commit
385f775884
1 changed files with 2 additions and 2 deletions
|
|
@ -72,8 +72,8 @@ type Console struct {
|
||||||
printer io.Writer // Output writer to serialize any display strings to
|
printer io.Writer // Output writer to serialize any display strings to
|
||||||
}
|
}
|
||||||
|
|
||||||
// New initializes a JavaScript interpreted runtime environment and sets defaults
|
// New initializes a JavaScript interpreted runtime environment and sets defaults
|
||||||
// with the config struct.
|
// with the config struct.
|
||||||
func New(config Config) (*Console, error) {
|
func New(config Config) (*Console, error) {
|
||||||
// Handle unset config values gracefully
|
// Handle unset config values gracefully
|
||||||
if config.Prompter == nil {
|
if config.Prompter == nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue