Skip to content

Commit 23a9db5

Browse files
committed
support loading v3 transactions in the transaction editor
1 parent e9108b8 commit 23a9db5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/sparrowwallet/sparrow/transaction/HeadersController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ private void initializeView() {
280280

281281
updateTxId();
282282

283-
version.setValueFactory(new IntegerSpinner.ValueFactory(1, 2, (int)tx.getVersion()));
283+
version.setValueFactory(new IntegerSpinner.ValueFactory(1, 3, (int)tx.getVersion()));
284284
version.valueProperty().addListener((obs, oldValue, newValue) -> {
285-
if(newValue == null || newValue < 1 || newValue > 2) {
285+
if(newValue == null || newValue < 1 || newValue > 3) {
286286
return;
287287
}
288288

0 commit comments

Comments
 (0)