update default persisted op pool deserialization

This commit is contained in:
realbigsean
2024-06-19 15:00:33 -04:00
parent 6e4483288a
commit afb9122cc1

View File

@@ -258,8 +258,8 @@ impl<E: EthSpec> StoreItem for PersistedOperationPool<E> {
fn from_store_bytes(bytes: &[u8]) -> Result<Self, StoreError> {
// Default deserialization to the latest variant.
PersistedOperationPoolV15::from_ssz_bytes(bytes)
.map(Self::V15)
PersistedOperationPoolV20::from_ssz_bytes(bytes)
.map(Self::V20)
.map_err(Into::into)
}
}