[#363] Define global config and use it to fetch basic income rate

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-02-02 14:12:41 +03:00 committed by Alex Vanin
parent be2ed6bf4c
commit 487c9b7589
7 changed files with 89 additions and 9 deletions

View file

@ -18,7 +18,7 @@ type (
}
RateFetcher interface {
BasicRate() uint64
BasicRate() (uint64, error)
}
IncomeSettlementContext struct {