From f7d520e9ccb6084144a3e963516e40a322add0c8 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 22 Mar 2024 15:51:31 +0000 Subject: use Sha1Hashin new location it had moved from 'prelude' to 'hashes' --- src/sub_commands/send.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/sub_commands/send.rs') diff --git a/src/sub_commands/send.rs b/src/sub_commands/send.rs index 35c2c81..cc182f1 100644 --- a/src/sub_commands/send.rs +++ b/src/sub_commands/send.rs @@ -4,10 +4,8 @@ use anyhow::{bail, Context, Result}; use console::Style; use futures::future::join_all; use indicatif::{MultiProgress, ProgressBar, ProgressStyle}; -use nostr::{ - nips::nip19::Nip19, prelude::sha1::Hash as Sha1Hash, EventBuilder, FromBech32, Marker, Tag, - TagKind, UncheckedUrl, -}; +use nostr::{nips::nip19::Nip19, EventBuilder, FromBech32, Marker, Tag, TagKind, UncheckedUrl}; +use nostr_sdk::hashes::sha1::Hash as Sha1Hash; use super::list::tag_value; #[cfg(not(test))] -- cgit v1.2.3