groups: trim ship string on preSig

This commit is contained in:
Patrick O'Sullivan 2022-03-10 12:23:42 -06:00
parent 0f85623f25
commit 8926179f75

View File

@ -234,11 +234,11 @@ export function preSig(ship: string): string {
return '';
}
if (ship.startsWith('~')) {
return ship;
if (ship.trim().startsWith('~')) {
return ship.trim();
}
return '~'.concat(ship);
return '~'.concat(ship.trim());
}
export function uxToHex(ux: string) {