Skip to content

Commit

Permalink
fix: make delegate string (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
tahsintunan authored and linuskendall committed Jul 26, 2023
1 parent 838a706 commit a589bbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions das_api/src/api/api_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ impl ApiContract for DasApi {
});
let owner_address = validate_opt_pubkey(&owner_address)?;
let creator_address = validate_opt_pubkey(&creator_address)?;
let delegate = validate_opt_pubkey(&delegate)?;

let authority_address = validate_opt_pubkey(&authority_address)?;
let supply_mint = validate_opt_pubkey(&supply_mint)?;
Expand Down
2 changes: 1 addition & 1 deletion das_api/src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub struct SearchAssets {
pub creator_verified: Option<bool>,
pub authority_address: Option<String>,
pub grouping: Option<(String, String)>,
pub delegate: Option<Vec<u8>>,
pub delegate: Option<String>,
pub frozen: Option<bool>,
pub supply: Option<u64>,
pub supply_mint: Option<String>,
Expand Down

0 comments on commit a589bbe

Please sign in to comment.