WalletTool: don't unnecessarily reinitialize tx variable t in send()

This commit is contained in:
Sean Gilligan 2023-03-26 08:55:48 -07:00 committed by Andreas Schildbach
parent f58d07a623
commit 17f9b1dcfe

View File

@ -715,7 +715,6 @@ public class WalletTool implements Callable<Integer> {
} catch (ScriptException e) {
throw new RuntimeException(e);
}
t = req.tx; // Not strictly required today.
System.out.println(t.getTxId());
if (offline) {
wallet.commitTx(t);