diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-22 15:51:31 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-22 15:51:31 +0000 |
| commit | f7d520e9ccb6084144a3e963516e40a322add0c8 (patch) | |
| tree | ff166ff791d4cd744fd4818d853a558aefb87877 /src/sub_commands/send.rs | |
| parent | 07a6b27eacc9cb80b0858ae8d7042287567ea790 (diff) | |
use Sha1Hashin new location
it had moved from 'prelude' to 'hashes'
Diffstat (limited to 'src/sub_commands/send.rs')
| -rw-r--r-- | src/sub_commands/send.rs | 6 |
1 files changed, 2 insertions, 4 deletions
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}; | |||
| 4 | use console::Style; | 4 | use console::Style; |
| 5 | use futures::future::join_all; | 5 | use futures::future::join_all; |
| 6 | use indicatif::{MultiProgress, ProgressBar, ProgressStyle}; | 6 | use indicatif::{MultiProgress, ProgressBar, ProgressStyle}; |
| 7 | use nostr::{ | 7 | use nostr::{nips::nip19::Nip19, EventBuilder, FromBech32, Marker, Tag, TagKind, UncheckedUrl}; |
| 8 | nips::nip19::Nip19, prelude::sha1::Hash as Sha1Hash, EventBuilder, FromBech32, Marker, Tag, | 8 | use nostr_sdk::hashes::sha1::Hash as Sha1Hash; |
| 9 | TagKind, UncheckedUrl, | ||
| 10 | }; | ||
| 11 | 9 | ||
| 12 | use super::list::tag_value; | 10 | use super::list::tag_value; |
| 13 | #[cfg(not(test))] | 11 | #[cfg(not(test))] |