mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 02:05:53 +00:00
Disable code that no longer compiles in WalletTool pending fix.
This commit is contained in:
parent
682bd035fc
commit
36b1eb7dee
@ -871,6 +871,9 @@ public class WalletTool {
|
|||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
System.err.println("Seed string must be mnemonic words");
|
||||||
|
return;
|
||||||
|
/*
|
||||||
// Parse as hex or base58
|
// Parse as hex or base58
|
||||||
byte[] bits = Utils.parseAsHexOrBase58(seedStr);
|
byte[] bits = Utils.parseAsHexOrBase58(seedStr);
|
||||||
if (bits.length != 16) {
|
if (bits.length != 16) {
|
||||||
@ -878,6 +881,7 @@ public class WalletTool {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
seed = new DeterministicSeed(bits, creationTimeSecs);
|
seed = new DeterministicSeed(bits, creationTimeSecs);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
wallet = Wallet.fromSeed(params, seed);
|
wallet = Wallet.fromSeed(params, seed);
|
||||||
} else if (options.has(watchFlag)) {
|
} else if (options.has(watchFlag)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user