Skip to content

Commit

Permalink
fix: make delegate string (#73) (#97)
Browse files Browse the repository at this point in the history
Co-authored-by: Tahsin Tunan <[email protected]>
  • Loading branch information
linuskendall and tahsintunan authored Sep 18, 2023
1 parent 5656937 commit 04a73f6
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 @@ -295,6 +295,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 @@ -70,7 +70,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 04a73f6

Please sign in to comment.