Get account direct from store without buffer

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
bcmmbaga 2025-01-13 19:18:18 +03:00
parent 3cc6d3862d
commit 48af90c770
No known key found for this signature in database
GPG Key ID: 511EED5C928AD547

View File

@ -948,7 +948,7 @@ func (am *DefaultAccountManager) getValidatedPeerWithMap(ctx context.Context, is
return peer, emptyMap, nil, nil return peer, emptyMap, nil, nil
} }
account, err := am.requestBuffer.GetAccountWithBackpressure(ctx, accountID) account, err := am.Store.GetAccount(ctx, accountID)
if err != nil { if err != nil {
return nil, nil, nil, err return nil, nil, nil, err
} }