From 5b809de3644c5a1e4e979b9d9d42f980efd46318 Mon Sep 17 00:00:00 2001 From: Abdulrahim Al Methiab Date: Thu, 30 Nov 2023 18:12:06 +0100 Subject: [PATCH] fix --- src/disclosure.rs | 2 +- src/encoder.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/disclosure.rs b/src/disclosure.rs index 25a1a23..4d91979 100644 --- a/src/disclosure.rs +++ b/src/disclosure.rs @@ -1,9 +1,9 @@ // Copyright 2020-2023 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 -use std::fmt::Display; use crate::Error; use serde_json::Value; +use std::fmt::Display; /// Represents an elements constructing a disclosure. /// Object properties and array elements disclosures are supported. diff --git a/src/encoder.rs b/src/encoder.rs index a33e16a..e043ad1 100644 --- a/src/encoder.rs +++ b/src/encoder.rs @@ -16,7 +16,6 @@ use serde_json::Map; use serde_json::Value; pub(crate) const DIGESTS_KEY: &str = "_sd"; - pub(crate) const ARRAY_DIGEST_KEY: &str = "..."; pub(crate) const DEFAULT_SALT_RANGE: Range = 24..34;