Skip to content

Commit

Permalink
Fix name of the Stellar Asset admin client (#1073)
Browse files Browse the repository at this point in the history
### What
Rename `token::AdminClient` to `token::StellarAssetAdminClient`.

### Why
The `token::StellarAssetAdminInterface` provides a client, but it was
accidentally named `AdminClient`. When I added the client, multiple PRs
were being merged at the same time and one PR changed the interface
name, and the other introduced the client with the old name.
  • Loading branch information
leighmcculloch authored Aug 30, 2023
1 parent 18b8fa1 commit 63cc30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soroban-sdk/src/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ pub trait Interface {
/// Interface for admin capabilities for Token contracts, such as the Stellar
/// Asset Contract.
#[contractspecfn(name = "StellarAssetSpec", export = false)]
#[contractclient(crate_path = "crate", name = "AdminClient")]
#[contractclient(crate_path = "crate", name = "StellarAssetAdminClient")]
pub trait StellarAssetAdminInterface {
/// Sets the administrator to the specified address `new_admin`.
///
Expand Down

0 comments on commit 63cc30d

Please sign in to comment.