Skip to content

Commit

Permalink
Compile error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
levonpetrosyan93 committed May 13, 2023
1 parent 11a31f3 commit 6b135e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libspark/spend_transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ bool SpendTransaction::verify(

// Compute the binding hash
Scalar mu = hash_bind(
hash_bind_inner(
tx.hash_bind_inner(
tx.cover_set_representations,
tx.C1,
tx.grootle_proofs,
Expand Down
2 changes: 1 addition & 1 deletion src/libspark/spend_transaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class SpendTransaction {
static bool verify(const Params* params, const std::vector<SpendTransaction>& transactions, const std::unordered_map<uint64_t, std::vector<Coin>>& cover_sets);
static bool verify(const SpendTransaction& transaction, const std::unordered_map<uint64_t, std::vector<Coin>>& cover_sets);

static std::vector<unsigned char> hash_bind_inner(
std::vector<unsigned char> hash_bind_inner(
const std::unordered_map<uint64_t, std::vector<unsigned char>>& cover_set_representations,
const std::vector<GroupElement>& C1,
const std::vector<GrootleProof>& grootle_proofs,
Expand Down

0 comments on commit 6b135e0

Please sign in to comment.