Fixed importer exception on Android
This commit is contained in:
parent
3a0555e6e9
commit
784ed9ed4e
@ -66,12 +66,12 @@ public class WifImporter {
|
||||
entry.getKey(),
|
||||
getSecret(section.get("privsigningkey")),
|
||||
getSecret(section.get("privencryptionkey")),
|
||||
section.get("noncetrialsperbyte", long.class),
|
||||
section.get("payloadlengthextrabytes", long.class),
|
||||
Long.parseLong(section.get("noncetrialsperbyte")),
|
||||
Long.parseLong(section.get("payloadlengthextrabytes")),
|
||||
Pubkey.Feature.bitfield(features)
|
||||
);
|
||||
if (section.containsKey("chan")) {
|
||||
address.setChan(section.get("chan", boolean.class));
|
||||
address.setChan(Boolean.parseBoolean(section.get("chan")));
|
||||
}
|
||||
address.setAlias(section.get("label"));
|
||||
identities.add(address);
|
||||
|
Loading…
Reference in New Issue
Block a user