Markdown #55
@ -61,7 +61,7 @@ export function hexToBech32(hrp, hex) {
|
||||
if (typeof hex !== "string" || hex.length === 0 || hex.length % 2 != 0) {
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
let buf = secp.utils.hexToBytes(hex);
|
||||
return bech32.encode(hrp, bech32.toWords(buf));
|
||||
|
@ -208,5 +208,6 @@
|
||||
.profile .no-banner .details-wrapper {
|
||||
margin-left: 10px;
|
||||
margin-top: 21px;
|
||||
max-width: 420px;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user