diff --git a/tools/src/main/java/com/google/bitcoin/tools/WalletTool.java b/tools/src/main/java/com/google/bitcoin/tools/WalletTool.java index bd6e11e1a..55e593ab9 100644 --- a/tools/src/main/java/com/google/bitcoin/tools/WalletTool.java +++ b/tools/src/main/java/com/google/bitcoin/tools/WalletTool.java @@ -550,7 +550,7 @@ public class WalletTool { // For lock times to take effect, at least one output must have a non-final sequence number. t.getInputs().get(0).setSequenceNumber(0); // 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) { System.err.println("Could not understand --locktime of " + lockTimeStr);