chore: remove duplicate word (#20216)

This commit is contained in:
tom
2024-04-30 10:05:58 +00:00
committed by GitHub
parent 19e4884d5a
commit 0a2481d9e4
+1 -1
View File
@@ -107,7 +107,7 @@ func (ctx Context) WithKeyringOptions(opts ...keyring.Option) Context {
// WithInput returns a copy of the context with an updated input.
func (ctx Context) WithInput(r io.Reader) Context {
// convert to a bufio.Reader to have a shared buffer between the keyring and the
// the Commands, ensuring a read from one advance the read pointer for the other.
// Commands, ensuring a read from one advance the read pointer for the other.
// see https://github.com/cosmos/cosmos-sdk/issues/9566.
ctx.Input = bufio.NewReader(r)
return ctx