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 Jan 24, 2024
1 parent 3174d22 commit 03157df
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 03157df

Please sign in to comment.