Skip to content

Commit

Permalink
Fix common features set
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Nov 7, 2023
1 parent d353eb6 commit d317490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/src/types/block/address/bech32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl Bech32Address {
impl core::fmt::Display for Bech32Address {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
let bytes = if self.inner.is_multi() {
std::iter::once(MultiAddress::KIND)
core::iter::once(MultiAddress::KIND)
.chain(Blake2b256::digest(self.inner.pack_to_vec()))
.collect()
} else {
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/types/block/address/multi.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2023 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

use alloc::vec::Vec;
use alloc::{boxed::Box, string::ToString, vec::Vec};
use core::{fmt, ops::RangeInclusive};

use derive_more::{AsRef, Display, From};
Expand Down

0 comments on commit d317490

Please sign in to comment.