Skip to content

Commit

Permalink
Fix integer literal for HDWallet child
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewLM committed Apr 16, 2015
1 parent febae5f commit 6c14325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CBHDKeys.c
Expand Up @@ -93,7 +93,7 @@ bool CBInitHDKeyFromData(CBHDKey * key, unsigned char * data, CBHDKeyVersion ver
// Not master
int childNum = CBArrayToInt32BigEndian(data, 9);
key->childID.priv = childNum >> 31;
key->childID.childNumber = childNum & 0x8fffffff;
key->childID.childNumber = childNum & 0x7fffffff;
}

return true;
Expand Down

0 comments on commit 6c14325

Please sign in to comment.