From 2c1fe352b7cc62133a95ee986a7dda21f97509ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasin=20=C3=87al=C4=B1=C5=9Fkan?= Date: Tue, 24 Oct 2023 16:26:18 +0300 Subject: [PATCH] Update first/last vote rounds --- src/core/home/sign-txn/create/button/CreateTxnButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/home/sign-txn/create/button/CreateTxnButton.tsx b/src/core/home/sign-txn/create/button/CreateTxnButton.tsx index ce6b1a2..97748b4 100644 --- a/src/core/home/sign-txn/create/button/CreateTxnButton.tsx +++ b/src/core/home/sign-txn/create/button/CreateTxnButton.tsx @@ -161,8 +161,8 @@ function CreateTxnButton({ voteKey: voteKey!, selectionKey: selectionKey!, stateProofKey: stateProofKey!, - voteFirst: voteFirst!, - voteLast: voteLast!, + voteFirst: suggestedParams.firstRound, + voteLast: suggestedParams.lastRound, voteKeyDilution: voteKeyDilution!, rekeyTo: isValidAddress(rekeyTo) ? rekeyTo : undefined, suggestedParams