mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-25 17:46:44 +00:00
ignore invalid characters when calculating output descriptor checksum
This commit is contained in:
parent
189ef88b08
commit
60cb3ed85f
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ public class OutputDescriptor {
|
||||||
int pos = INPUT_CHARSET.indexOf(ch);
|
int pos = INPUT_CHARSET.indexOf(ch);
|
||||||
|
|
||||||
if(pos < 0) {
|
if(pos < 0) {
|
||||||
return "";
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
c = polyMod(c, pos & 31); // Emit a symbol for the position inside the group, for every character.
|
c = polyMod(c, pos & 31); // Emit a symbol for the position inside the group, for every character.
|
||||||
|
|
Loading…
Reference in a new issue