add Async to context
This commit is contained in:
@@ -22,6 +22,7 @@ type CoreContext struct {
|
||||
Decoder auth.AccountDecoder
|
||||
AccountStore string
|
||||
UseLedger bool
|
||||
Async bool
|
||||
}
|
||||
|
||||
// WithChainID - return a copy of the context with an updated chainID
|
||||
|
||||
@@ -42,6 +42,7 @@ func NewCoreContextFromViper() CoreContext {
|
||||
Decoder: nil,
|
||||
AccountStore: "acc",
|
||||
UseLedger: viper.GetBool(client.FlagUseLedger),
|
||||
Async: viper.GetBool(client.FlagAsync),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user