mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
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:
commit
762350c4ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue