Skip to content

Commit

Permalink
fixed a typo in code
Browse files Browse the repository at this point in the history
  • Loading branch information
dotSlash-Adwitiya authored and abitmore committed Feb 6, 2024
1 parent 5b40d04 commit 2de7fc2
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 2de7fc2

Please sign in to comment.