func (s *Store) Lookup(key ed25519.PublicKey) (Account, bool) {
	s.mu.RLock()
	defer s.mu.RUnlock()
	v, ok := s.WalletStore[util.ToBytes(key)]
	return v, ok
}
// Lookup retrieves the currencies for a given public key
Lookup retrieves the currencies for a given public key
// Lookup retrieves the currencies for a given public key
func (s *Store) Lookup(key ed25519.PublicKey) (Account, bool) {
	s.mu.RLock()
	defer s.mu.RUnlock()
	v, ok := s.WalletStore[util.ToBytes(key)]
	return v, ok
}
func ( s * Store ) Lookup ( key ed25519 . PublicKey ) ( Account , bool ) { s . mu . RLock ( ) defer s . mu . RUnlock ( ) v , ok := s . WalletStore [ util . ToBytes ( key ) ] return v , ok }
Lookup retrieves the currencies for a given public key
Lookup retrieves the currencies for a given public key