From dcccd85f5ce962ed3bc030a9681819ea51e03aed Mon Sep 17 00:00:00 2001 From: valdok Date: Mon, 4 Dec 2023 22:33:29 +0200 Subject: [PATCH] Wallet: fixed completed tx goes into fail after rollback --- wallet/core/base_transaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/core/base_transaction.cpp b/wallet/core/base_transaction.cpp index 0dd905ee7..44a3d4cf5 100644 --- a/wallet/core/base_transaction.cpp +++ b/wallet/core/base_transaction.cpp @@ -246,7 +246,7 @@ namespace beam::wallet { SetParameter(TxParameterID::Status, TxStatus::Registering); SetParameter(TxParameterID::KernelProofHeight, Zero); - SetParameter(TxParameterID::KernelUnconfirmedHeight, height); + SetParameter(TxParameterID::KernelUnconfirmedHeight, Zero); SetParameter(TxParameterID::TransactionRegistered, Zero); return true; }