diff --git a/shared/src/ledger/eth_bridge/bridge_pool_vp.rs b/shared/src/ledger/eth_bridge/bridge_pool_vp.rs index 2fbce42f60..3588d76734 100644 --- a/shared/src/ledger/eth_bridge/bridge_pool_vp.rs +++ b/shared/src/ledger/eth_bridge/bridge_pool_vp.rs @@ -23,7 +23,6 @@ use crate::ledger::storage::{DBIter, DB}; use crate::proto::SignedTxData; use crate::types::address::{xan, Address, InternalAddress}; use crate::types::eth_bridge_pool::PendingTransfer; -use crate::types::keccak::encode::Encode; use crate::types::storage::Key; use crate::types::token::{balance_key, Amount}; use crate::vm::WasmCacheAccess; diff --git a/shared/src/types/storage.rs b/shared/src/types/storage.rs index 9fa5b65128..eee9b5b847 100644 --- a/shared/src/types/storage.rs +++ b/shared/src/types/storage.rs @@ -656,22 +656,6 @@ impl KeySeg for KeccakHash { } } -impl KeySeg for KeccakHash { - fn parse(seg: String) -> Result { - seg.clone() - .try_into() - .map_err(|_| Error::ParseError(seg, "Hash".into())) - } - - fn raw(&self) -> String { - self.to_string() - } - - fn to_db_key(&self) -> DbKeySeg { - DbKeySeg::StringSeg(self.raw()) - } -} - /// Epoch identifier. Epochs are identified by consecutive numbers. #[derive( Clone,