From 555e5ecfb8bc0f4e094c22b037b21ba3cee9dbfe Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Wed, 18 May 2022 08:44:34 +0200 Subject: [PATCH] recalculate txid before copying --- .../sparrowwallet/sparrow/transaction/HeadersController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java b/src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java index 3ddbc2cf..04b9b3b3 100644 --- a/src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java +++ b/src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java @@ -805,7 +805,7 @@ public class HeadersController extends TransactionFormController implements Init public void copyId(ActionEvent event) { ClipboardContent content = new ClipboardContent(); - content.putString(headersForm.getTransaction().getTxId().toString()); + content.putString(headersForm.getTransaction().calculateTxId(false).toString()); Clipboard.getSystemClipboard().setContent(content); }