fix warnings
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user