mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 10:22:18 +01:00
Fix Typos in Octocoin validation
This commit is contained in:
parent
23c4768d29
commit
f9c4bb730c
@ -22,7 +22,7 @@ import io.bitsquare.gui.util.validation.altcoins.ByteballAddressValidator;
|
||||
import io.bitsquare.gui.util.validation.altcoins.OctocoinAddressValidator;
|
||||
import io.bitsquare.gui.util.validation.params.IOPParams;
|
||||
import io.bitsquare.gui.util.validation.params.PivxParams;
|
||||
import io.bitsquare.gui.util.validation.params.OctcoinParams;
|
||||
import io.bitsquare.gui.util.validation.params.OctocoinParams;
|
||||
import org.bitcoinj.core.Address;
|
||||
import org.bitcoinj.core.AddressFormatException;
|
||||
import org.bitcoinj.params.MainNetParams;
|
||||
@ -112,7 +112,7 @@ public final class AltCoinAddressValidator extends InputValidator {
|
||||
}
|
||||
case "888":
|
||||
if (input.matches("^[8][a-km-zA-HJ-NP-Z1-9]{25,34}$")) {
|
||||
if (return OctocoinAddressValidator.ValidateAddress(input);) {
|
||||
if (OctocoinAddressValidator.ValidateAddress(input)) {
|
||||
try {
|
||||
new Address(OctocoinParams.get(), input);
|
||||
return new ValidationResult(true);
|
||||
|
Loading…
Reference in New Issue
Block a user