Skip to content

Commit 5bd3391

Browse files
committed
refactor: remove redundancies in metadata_message.sw
1 parent 75c98ee commit 5bd3391

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/fungible-token/bridge-fungible-token/src/data_structures/metadata_message.sw

+1-3
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,12 @@ impl MetadataMessage {
5959
// to access token_address and token_id
6060
let (token_address, token_id) = data.split_at(32);
6161

62-
let mut msg_data = Self {
62+
Self {
6363
token_address: token_address.into(),
6464
token_id: token_id.into(),
6565
name,
6666
symbol,
6767
};
68-
69-
msg_data
7068
}
7169
}
7270

0 commit comments

Comments
 (0)