Remove TxBuilder references to viper. (#6653)
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: Alessio Treglia <alessio@tendermint.com>
This commit is contained in:
co-authored by
Alexander Bezobchuk
Federico Kunze
Alessio Treglia
parent
255ed06eb4
commit
6ceedc9e4f
@@ -83,12 +83,6 @@ func NewContextWithFrom(from string) Context {
|
||||
// command line using Viper.
|
||||
func NewContext() Context { return NewContextWithFrom(viper.GetString(flags.FlagFrom)) }
|
||||
|
||||
// NewContextWithInput returns a new initialized Context with a io.Reader and parameters
|
||||
// from the command line using Viper.
|
||||
func NewContextWithInput(input io.Reader) Context {
|
||||
return NewContextWithInputAndFrom(input, viper.GetString(flags.FlagFrom))
|
||||
}
|
||||
|
||||
// InitWithInputAndFrom returns a new Context re-initialized from an existing
|
||||
// Context with a new io.Reader and from parameter
|
||||
func (ctx Context) InitWithInputAndFrom(input io.Reader, from string) Context {
|
||||
|
||||
Reference in New Issue
Block a user