Skip to content

Commit

Permalink
[Types] rename coin not vendor-specific
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed Aug 21, 2023
1 parent f797562 commit 1f7c159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/src/utility_coin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ use once_cell::sync::Lazy;
pub static APTOS_COIN_TYPE: Lazy<TypeTag> = Lazy::new(|| {
TypeTag::Struct(Box::new(StructTag {
address: AccountAddress::ONE,
module: ident_str!("aptos_coin").to_owned(),
name: ident_str!("AptosCoin").to_owned(),
module: ident_str!("gas_coin").to_owned(), //////// 0L //////// a number of API endpoint (e.g. simulate_gas) will check for the coin resource and are looking for a specific name, so we're changing this to the generic coin name
name: ident_str!("GasCoin").to_owned(), //////// 0L ////////
type_params: vec![],
}))
});

0 comments on commit 1f7c159

Please sign in to comment.