Skip to content

Commit

Permalink
Fix getsparkanonymityset
Browse files Browse the repository at this point in the history
  • Loading branch information
levonpetrosyan93 committed Nov 16, 2023
1 parent 92a2050 commit e5e15f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/spark/state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ void CSparkState::GetCoinsForRecovery(
int coinGroupID,
std::string start_block_hash,
uint256& blockHash_out,
std::vector<std::pair<spark::Coin, uint256>> coins,
std::vector<std::pair<spark::Coin, uint256>>& coins,
std::vector<unsigned char>& setHash_out) {
coins.clear();
if (coinGroups.count(coinGroupID) == 0) {
Expand Down
2 changes: 1 addition & 1 deletion src/spark/state.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class CSparkState {
int coinGroupID,
std::string start_block_hash,
uint256& blockHash_out,
std::vector<std::pair<spark::Coin, uint256>> coins,
std::vector<std::pair<spark::Coin, uint256>>& coins,
std::vector<unsigned char>& setHash_out);

std::unordered_map<spark::Coin, CMintedCoinInfo, spark::CoinHash> const & GetMints() const;
Expand Down

0 comments on commit e5e15f7

Please sign in to comment.