From 07bc5ff224c495f66ca3378cd3d6084c3b065567 Mon Sep 17 00:00:00 2001 From: Adwitiya Mourya <95630928+dotSlash-Adwitiya@users.noreply.github.com> Date: Wed, 24 Jan 2024 10:53:04 +0530 Subject: [PATCH] fixed a typo in code --- libraries/wallet/wallet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/wallet/wallet.cpp b/libraries/wallet/wallet.cpp index 616ee54b6..fad21a091 100644 --- a/libraries/wallet/wallet.cpp +++ b/libraries/wallet/wallet.cpp @@ -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;