mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 14:54:15 +00:00
Make WalletTool compile again.
This commit is contained in:
parent
483b3bbc9b
commit
664d0b130c
@ -550,7 +550,7 @@ public class WalletTool {
|
|||||||
// For lock times to take effect, at least one output must have a non-final sequence number.
|
// For lock times to take effect, at least one output must have a non-final sequence number.
|
||||||
t.getInputs().get(0).setSequenceNumber(0);
|
t.getInputs().get(0).setSequenceNumber(0);
|
||||||
// And because we modified the transaction after it was completed, we must re-sign the inputs.
|
// And because we modified the transaction after it was completed, we must re-sign the inputs.
|
||||||
wallet.signTransaction(t, req.aesKey);
|
wallet.signTransaction(req);
|
||||||
}
|
}
|
||||||
} catch (ParseException e) {
|
} catch (ParseException e) {
|
||||||
System.err.println("Could not understand --locktime of " + lockTimeStr);
|
System.err.println("Could not understand --locktime of " + lockTimeStr);
|
||||||
|
Loading…
Reference in New Issue
Block a user