Skip to content

Commit

Permalink
Vault history for new loan payback message (#1162)
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Fieroni <[email protected]>
  • Loading branch information
bvbfan authored Mar 29, 2022
1 parent fe01050 commit bbaedcb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/masternodes/mn_checks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3673,6 +3673,9 @@ void PopulateVaultHistoryData(CHistoryWriters* writers, CAccountsHistoryWriter&
} else if (txType == CustomTxType::PaybackLoan) {
auto obj = boost::get<CLoanPaybackLoanMessage>(txMessage);
view.vaultID = obj.vaultId;
} else if (txType == CustomTxType::PaybackLoanV2) {
auto obj = boost::get<CLoanPaybackLoanV2Message>(txMessage);
view.vaultID = obj.vaultId;
} else if (txType == CustomTxType::AuctionBid) {
auto obj = boost::get<CAuctionBidMessage>(txMessage);
view.vaultID = obj.vaultId;
Expand Down

0 comments on commit bbaedcb

Please sign in to comment.