Skip to content
Snippets Groups Projects

[Refactor] No keeper within pool manager struct #unsafe

Merged Multipartite requested to merge Multipartite/thornode:PoolMgr-without-keeper into develop
1 unresolved thread
6 files
+ 26
41
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -6,17 +6,12 @@ import (
"gitlab.com/thorchain/thornode/common"
"gitlab.com/thorchain/thornode/common/cosmos"
"gitlab.com/thorchain/thornode/constants"
"gitlab.com/thorchain/thornode/x/thorchain/keeper"
)
type PoolMgrV98 struct {
keeper keeper.Keeper
}
type PoolMgrV98 struct{}
func newPoolMgrV98(k keeper.Keeper) *PoolMgrV98 {
return &PoolMgrV98{
keeper: k,
}
func newPoolMgrV98() *PoolMgrV98 {
return &PoolMgrV98{}
}
// EndBlock cycle pools if required and if ragnarok is not in progress
Loading