frostfs-node/pkg/innerring/processors/settlement/basic/distribute.go

21 lines
338 B
Go
Raw Normal View History

package basic
import (
"go.uber.org/zap"
)
func (inc *IncomeSettlementContext) Distribute() {
inc.mu.Lock()
defer inc.mu.Unlock()
bankBalance, err := inc.balances.Balance(inc.bankOwner)
if err != nil {
inc.log.Error("can't fetch balance of banking account",
zap.String("error", err.Error()))
return
}
_ = bankBalance
}