Skip to content

Commit 7f470ea

Browse files
committed
hex encode upper on the ibc denom
1 parent 3f9f8e2 commit 7f470ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/adapters/ibc/ibc-callbacks/src/contract.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ fn get_recv_denom(ibc_packet: IbcPacket, packet_denom: String) -> String {
442442
ibc_packet.dest.port_id, ibc_packet.dest.channel_id
443443
);
444444
let denom_hash = Sha256::digest(ibc_denom.as_bytes()).to_vec();
445-
format!("ibc/{}", hex::encode(denom_hash))
445+
format!("ibc/{}", hex::encode_upper(denom_hash))
446446
}
447447

448448
/////////////

0 commit comments

Comments
 (0)