From 948fe972eb2bddf187b79f2673a091b6331cfd90 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 1 Apr 2025 14:31:34 +0100 Subject: chore: bump rust-nostr v0.37 ~> v0.40 and fix all of the breaking changes --- tests/ngit_init.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'tests/ngit_init.rs') diff --git a/tests/ngit_init.rs b/tests/ngit_init.rs index 4b61559..409bd51 100644 --- a/tests/ngit_init.rs +++ b/tests/ngit_init.rs @@ -194,7 +194,7 @@ mod when_repo_not_previously_claimed { mod git_config_updated { - use nostr::nips::nip01::Coordinate; + use nostr::nips::{nip01::Coordinate, nip19::Nip19Coordinate}; use nostr_sdk::ToBech32; use super::*; @@ -236,10 +236,12 @@ mod when_repo_not_previously_claimed { .get_entry("nostr.repo")? .value() .unwrap(), - Coordinate { - kind: nostr_sdk::Kind::GitRepoAnnouncement, - identifier: "example-identifier".to_string(), - public_key: TEST_KEY_1_KEYS.public_key(), + Nip19Coordinate { + coordinate: Coordinate { + kind: nostr_sdk::Kind::GitRepoAnnouncement, + identifier: "example-identifier".to_string(), + public_key: TEST_KEY_1_KEYS.public_key(), + }, relays: vec![], } .to_bech32()?, -- cgit v1.2.3