mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-22 03:56:44 +01:00
lncli: remove new line from password confirmation
The password instruction in the same function and many other related outputs use Printf except of Println.
This commit is contained in:
@@ -1481,7 +1481,7 @@ func capturePassword(instruction string, optional bool,
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println("Confirm password:")
|
fmt.Printf("Confirm password: ")
|
||||||
passwordConfirmed, err := terminal.ReadPassword(
|
passwordConfirmed, err := terminal.ReadPassword(
|
||||||
int(syscall.Stdin),
|
int(syscall.Stdin),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user