Skip to content

Commit

Permalink
Update Base32.cpp to solve bug euphony-io#107
Browse files Browse the repository at this point in the history
  • Loading branch information
YoungSeokHong committed Oct 9, 2021
1 parent beee0b1 commit 4c1d2ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions euphony/src/main/cpp/core/source/Base32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const Euphony::HexVector &Euphony::Base32::getHexVector() const {

std::string Base32::bitsToBase32(int value){
std::string result;
if(!value)result = "0000";
while(value != 0) {
result = convertInt2Char(value & 0x1f) + result;
value >>= 5;
Expand Down

0 comments on commit 4c1d2ce

Please sign in to comment.