I have two 2 storage in the pallet :
#[pallet::storage]
#[pallet::getter(fn subscriber)]
pub type Subscriber<T:Config> = StorageValue<_, BoundedVec<T::AccountId, T::MaxSubscriber>, ValueQuery>;
#[pallet::storage]
#[pallet::getter(fn store)]
pub type Store<T: Config> = StorageMap<_, Blake2_128Concat, T::AccountId, u32, OptionQuery>;
Here first I need to fetch the account id from the subscriber
in 'sc-consensus' file and then I need to call a function which that require AccountId to put a value it into Store
storage.
And when I'm fetching the vec from the subscriber
and log it into the console then I can see something like this: be5ddb1579b72e84524fc29e78609e3caf42e85aa118ebfe0b0ad404b5bdd25f (5GNJqTPy...)
How to fetch the AccountId from this combination so that i can insert it into the Store
storage?