Skip to content

Commit

Permalink
Remove tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
StadenElysium committed Oct 28, 2017
1 parent 05b4ad2 commit da5f32d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shared/Auth/BigNumber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ std::vector<uint8> BigNumber::AsByteArray(int minSize, bool reverse)
if (length > GetNumBytes())
memset((void*)byteArray.data(), 0, length);

// Padding should add leading zeroes, not trailing
int paddingOffset = length - GetNumBytes();
// Padding should add leading zeroes, not trailing
int paddingOffset = length - GetNumBytes();

BN_bn2bin(_bn, (unsigned char *)byteArray.data() + paddingOffset);

Expand Down

0 comments on commit da5f32d

Please sign in to comment.