3
0
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:
Mike Hearn 2014-07-10 15:33:34 +02:00
parent 682bd035fc
commit 36b1eb7dee

View File

@ -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)) {