Skip to content

Commit fe40983

Browse files
authored
Merge pull request #2805 from dotSlash-Adwitiya/patch-1
fixed a typo in code
2 parents d3b3858 + 07bc5ff commit fe40983

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/wallet/wallet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,8 +1872,8 @@ blind_receipt wallet_api::receive_blind_transfer( const string& confirmation_rec
18721872
result.memo = opt_memo;
18731873

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

18781878
blind_balance bal;
18791879
bal.amount = memo.amount;

0 commit comments

Comments
 (0)