use the default pool variables
This commit is contained in:
parent
cf237c592a
commit
5d8fee470a
@ -2738,9 +2738,9 @@ func (h *MenuHandlers) LoadSwapToList(ctx context.Context, sym string, input []b
|
|||||||
}
|
}
|
||||||
|
|
||||||
defaultPool := dataserviceapi.PoolDetails{
|
defaultPool := dataserviceapi.PoolDetails{
|
||||||
PoolName: "Kenya ROLA Pool",
|
PoolName: config.DefaultPoolName(),
|
||||||
PoolSymbol: "ROLA",
|
PoolSymbol: config.DefaultPoolSymbol(),
|
||||||
PoolContractAdrress: "0x48a953cA5cf5298bc6f6Af3C608351f537AAcb9e",
|
PoolContractAdrress: config.DefaultPoolAddress(),
|
||||||
LimiterAddress: "",
|
LimiterAddress: "",
|
||||||
VoucherRegistry: "",
|
VoucherRegistry: "",
|
||||||
}
|
}
|
||||||
@ -2765,8 +2765,9 @@ func (h *MenuHandlers) LoadSwapToList(ctx context.Context, sym string, input []b
|
|||||||
if !r.CanSwapFrom {
|
if !r.CanSwapFrom {
|
||||||
res.FlagSet = append(res.FlagSet, flag_incorrect_voucher)
|
res.FlagSet = append(res.FlagSet, flag_incorrect_voucher)
|
||||||
res.Content = l.Get(
|
res.Content = l.Get(
|
||||||
"%s is not in the KENYA ROLA POOL. Please update your voucher and try again.",
|
"%s is not in %s. Please update your voucher and try again.",
|
||||||
activeSym,
|
activeSym,
|
||||||
|
config.DefaultPoolName(),
|
||||||
)
|
)
|
||||||
return res, nil
|
return res, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user