Skip to content

Commit

Permalink
[compiler-v2 framework] revert access_path (#4308)
Browse files Browse the repository at this point in the history
  • Loading branch information
welbon authored Nov 28, 2024
1 parent 8acc08e commit 4981779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vm/framework/starcoin-framework/sources/coin.move
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ module starcoin_framework::coin {
}

inline fun is_stc<CoinType>(): bool {
type_info::type_name<CoinType>() == string::utf8(b"0x00000000000000000000000000000001::starcoin_coin::STC")
type_info::type_name<CoinType>() == string::utf8(b"0x1::starcoin_coin::STC")
}

inline fun create_and_return_paired_metadata_if_not_exist<CoinType>(allow_stc_creation: bool): Object<Metadata> {
Expand Down
2 changes: 1 addition & 1 deletion vm/framework/starcoin-framework/sources/stc/stc_util.move
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module starcoin_framework::stc_util {

#[view]
public fun is_stc<Coin>(): bool {
type_info::type_name<Coin>() == string::utf8(b"0x00000000000000000000000000000001::starcoin_coin::STC")
type_info::type_name<Coin>() == string::utf8(b"0x1::starcoin_coin::STC")
}

#[view]
Expand Down

0 comments on commit 4981779

Please sign in to comment.