Skip to content

Commit

Permalink
Merge pull request #2805 from dotSlash-Adwitiya/patch-1
Browse files Browse the repository at this point in the history
fixed a typo in code
  • Loading branch information
abitmore committed Feb 7, 2024
2 parents d3b3858 + 07bc5ff commit fe40983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1872,8 +1872,8 @@ blind_receipt wallet_api::receive_blind_transfer( const string& confirmation_rec
result.memo = opt_memo;

// confirm the amount matches the commitment (verify the blinding factor)
auto commtiment_test = fc::ecc::blind( memo.blinding_factor, memo.amount.amount.value );
FC_ASSERT( fc::ecc::verify_sum( {commtiment_test}, {memo.commitment}, 0 ) );
auto commitment_test = fc::ecc::blind( memo.blinding_factor, memo.amount.amount.value );
FC_ASSERT( fc::ecc::verify_sum( {commitment_test}, {memo.commitment}, 0 ) );

blind_balance bal;
bal.amount = memo.amount;
Expand Down

0 comments on commit fe40983

Please sign in to comment.