Skip to content

Commit 776a82a

Browse files
committed
chore(cw20-wrapped-tokenfactory): use symbol in less places
1 parent 2a03866 commit 776a82a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cosmwasm/cosmwasm.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ _: {
305305
"state-lens-ics23-mpt"
306306
"state-lens-ics23-ics23"
307307
];
308+
u = "bbn1uuuuuuuuu9un2qpksam7rlttpxc8dc76mcphhsmp39pxjnsvrtcqnrn5rr";
308309
}
309310
{
310311
chain-id = "bbn-1";

cosmwasm/cw20-wrapped-tokenfactory/src/contract.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ pub fn init(
402402
denom_units: [DenomUnit {
403403
denom: denom.clone(),
404404
exponent: 0,
405-
aliases: vec![msg.symbol.clone()],
405+
aliases: vec![],
406406
}]
407407
.into_iter()
408408
.chain((msg.decimals != 0).then(|| DenomUnit {
@@ -412,7 +412,7 @@ pub fn init(
412412
}))
413413
.collect(),
414414
base: Some(denom.clone()),
415-
display: Some(msg.symbol.clone()),
415+
display: Some(denom),
416416
name: Some(msg.name),
417417
symbol: Some(msg.symbol),
418418
uri: None,

0 commit comments

Comments
 (0)