Merge branch 'release/2.0.1'
This commit is contained in:
commit
15c6540e16
@ -66,12 +66,12 @@ public class WifImporter {
|
|||||||
entry.getKey(),
|
entry.getKey(),
|
||||||
getSecret(section.get("privsigningkey")),
|
getSecret(section.get("privsigningkey")),
|
||||||
getSecret(section.get("privencryptionkey")),
|
getSecret(section.get("privencryptionkey")),
|
||||||
section.get("noncetrialsperbyte", long.class),
|
Long.parseLong(section.get("noncetrialsperbyte")),
|
||||||
section.get("payloadlengthextrabytes", long.class),
|
Long.parseLong(section.get("payloadlengthextrabytes")),
|
||||||
Pubkey.Feature.bitfield(features)
|
Pubkey.Feature.bitfield(features)
|
||||||
);
|
);
|
||||||
if (section.containsKey("chan")) {
|
if (section.containsKey("chan")) {
|
||||||
address.setChan(section.get("chan", boolean.class));
|
address.setChan(Boolean.parseBoolean(section.get("chan")));
|
||||||
}
|
}
|
||||||
address.setAlias(section.get("label"));
|
address.setAlias(section.get("label"));
|
||||||
identities.add(address);
|
identities.add(address);
|
||||||
|
Loading…
Reference in New Issue
Block a user