Merge pull request #28 from allnil/fix/get-balance-get-session-call

fix: getSession call needs one more param in GetBalance
This commit is contained in:
Ferran Borreguero 2024-03-28 11:46:04 +00:00 committed by GitHub
commit 762350c4ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -197,7 +197,7 @@ func (s *SessionManager) Bid(sessionId string, blsPubKey phase0.BLSPubKey) (*api
}
func (s *SessionManager) GetBalance(sessionId string, addr common.Address) (*big.Int, error) {
builder, err := s.getSession(sessionId)
builder, err := s.getSession(sessionId, false)
if err != nil {
return nil, err
}