diff --git a/src/masternodes/mn_checks.cpp b/src/masternodes/mn_checks.cpp index 8453585a21b..24c5acdb779 100644 --- a/src/masternodes/mn_checks.cpp +++ b/src/masternodes/mn_checks.cpp @@ -3673,6 +3673,9 @@ void PopulateVaultHistoryData(CHistoryWriters* writers, CAccountsHistoryWriter& } else if (txType == CustomTxType::PaybackLoan) { auto obj = boost::get(txMessage); view.vaultID = obj.vaultId; + } else if (txType == CustomTxType::PaybackLoanV2) { + auto obj = boost::get(txMessage); + view.vaultID = obj.vaultId; } else if (txType == CustomTxType::AuctionBid) { auto obj = boost::get(txMessage); view.vaultID = obj.vaultId;