mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-31 20:11:23 +00:00
Fix Integer to long casting compiler error for Eclipse.
This commit is contained in:
@@ -86,7 +86,7 @@ public class WalletTool {
|
||||
|
||||
private static OptionSet options;
|
||||
private static OptionSpec<Date> dateFlag;
|
||||
private static OptionSpec<Integer> unixtimeFlag;
|
||||
private static OptionSpec<Long> unixtimeFlag;
|
||||
private static OptionSpec<String> seedFlag, watchFlag;
|
||||
private static OptionSpec<String> xpubkeysFlag;
|
||||
|
||||
@@ -218,7 +218,7 @@ public class WalletTool {
|
||||
OptionSpec<String> outputFlag = parser.accepts("output").withRequiredArg();
|
||||
parser.accepts("value").withRequiredArg();
|
||||
parser.accepts("fee").withRequiredArg();
|
||||
unixtimeFlag = parser.accepts("unixtime").withRequiredArg().ofType(Integer.class);
|
||||
unixtimeFlag = parser.accepts("unixtime").withRequiredArg().ofType(Long.class);
|
||||
OptionSpec<String> conditionFlag = parser.accepts("condition").withRequiredArg();
|
||||
parser.accepts("locktime").withRequiredArg();
|
||||
parser.accepts("allow-unconfirmed");
|
||||
|
Reference in New Issue
Block a user