func (s *Store) GetSnapshot() ([]byte, error) {
	s.mu.RLock()
	defer s.mu.RUnlock()
	return json.Marshal(s.WalletStore)
}
// GetSnapshot marshals the store to be used by the snapshotter
GetSnapshot marshals the store to be used by the snapshotter
// GetSnapshot marshals the store to be used by the snapshotter
func (s *Store) GetSnapshot() ([]byte, error) {
	s.mu.RLock()
	defer s.mu.RUnlock()
	return json.Marshal(s.WalletStore)
}
func ( s * Store ) GetSnapshot ( ) ( [ ] byte , error ) { s . mu . RLock ( ) defer s . mu . RUnlock ( ) return json . Marshal ( s . WalletStore ) }
GetSnapshot marshals the store to be used by the snapshotter
GetSnapshot marshals the store to be used by the snapshotter