Merge branch 'main' into markdown

This commit is contained in:
Alejandro 2023-01-14 15:13:45 +01:00 committed by GitHub
commit d6ab2c8f16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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));

View File

@ -208,5 +208,6 @@
.profile .no-banner .details-wrapper {
margin-left: 10px;
margin-top: 21px;
max-width: 420px;
}
}