fix warnings

This commit is contained in:
thesn10
2026-05-19 10:28:26 +02:00
parent 5bfde3ec6e
commit 18d577aa49
5 changed files with 26 additions and 6 deletions

View File

@@ -1,3 +1,5 @@
#![allow(clippy::diverging_sub_expression)]
pub mod error;
pub mod instructions;
pub mod state;
@@ -12,8 +14,7 @@ pub use state::*;
declare_id!("GwUPAKs3HHzCpj8uhet4NAnxk9GWNwfrYbpihu5DyFp");
/// Escrow Program ID — only its PDA may call update_stats.
pub const ESCROW_PROGRAM_ID: Pubkey =
pubkey!("DjVR4EuYV6USMJFfsGZwhZ3y8rtWsmG8EvDY96GTqqi3");
pub const ESCROW_PROGRAM_ID: Pubkey = pubkey!("DjVR4EuYV6USMJFfsGZwhZ3y8rtWsmG8EvDY96GTqqi3");
#[program]
pub mod descro_ext_resolvers {
@@ -28,7 +29,15 @@ pub mod descro_ext_resolvers {
fee_recipient: Pubkey,
metadata_uri: String,
) -> Result<()> {
register::handler(ctx, resolver_type, name, description, fee_bps, fee_recipient, metadata_uri)
register::handler(
ctx,
resolver_type,
name,
description,
fee_bps,
fee_recipient,
metadata_uri,
)
}
pub fn update_resolver(