forked from Kieran/snort
Merge branch 'main' into markdown
This commit is contained in:
commit
d6ab2c8f16
@ -61,7 +61,7 @@ export function hexToBech32(hrp, hex) {
|
|||||||
if (typeof hex !== "string" || hex.length === 0 || hex.length % 2 != 0) {
|
if (typeof hex !== "string" || hex.length === 0 || hex.length % 2 != 0) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let buf = secp.utils.hexToBytes(hex);
|
let buf = secp.utils.hexToBytes(hex);
|
||||||
return bech32.encode(hrp, bech32.toWords(buf));
|
return bech32.encode(hrp, bech32.toWords(buf));
|
||||||
|
@ -208,5 +208,6 @@
|
|||||||
.profile .no-banner .details-wrapper {
|
.profile .no-banner .details-wrapper {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
margin-top: 21px;
|
margin-top: 21px;
|
||||||
|
max-width: 420px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user