--- a/client/rpc/src/pov_estimate.rs +++ b/client/rpc/src/pov_estimate.rs @@ -145,7 +145,7 @@ ) -> Result { self.deny_unsafe.check_if_safe()?; - let at = BlockId::::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); let state = self .backend .state_at(at)