deps: Remove bitcoin_hashes and use nostr::hashes re-export

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-06-30 11:10:13 +00:00
parent 6467bc3bb5
commit 55e5d86c03
7 changed files with 12 additions and 47 deletions

View File

@@ -16,11 +16,11 @@
use std::iter;
use bitcoin_hashes::Sha1;
use either::Either;
use nostr::{
event::{EventBuilder, Tag, TagKind},
filter::Filter,
hashes::sha1::Hash as Sha1Hash,
nips::nip10::Marker,
};
@@ -128,7 +128,7 @@ pub async fn patch_status_command(
patch_id: NostrEvent,
naddrs: Option<Vec<NaddrOrSet>>,
new_status: PatchStatus,
merge_or_applied_commits: Option<Either<Sha1, Vec<Sha1>>>,
merge_or_applied_commits: Option<Either<Sha1Hash, Vec<Sha1Hash>>>,
check_fn: impl FnOnce(&PatchStatus) -> N34Result<()>,
) -> N34Result<()> {
let user_pkey = options.pubkey().await?;