Permalink
Browse files

getting base58 prefix correct

  • Loading branch information...
jedmccaleb committed Jul 12, 2014
1 parent dad4b09 commit 0e424457fc591f437ebe9b1b14141c402b51dcf4
Showing with 6 additions and 6 deletions.
  1. +1 −1 src/ripple_data/protocol/RippleAddress.cpp
  2. +5 −5 src/ripple_data/protocol/RippleAddress.h
@@ -789,7 +789,7 @@ class RippleAddress_test : public beast::unit_test::suite
testBase58(RippleAddress::VER_NODE_PUBLIC,'n');
testBase58(RippleAddress::VER_NODE_PRIVATE, 'v');
testBase58(RippleAddress::VER_NODE_PRIVATE, 'h');
testBase58(RippleAddress::VER_ACCOUNT_PUBLIC, 'p');
testBase58(RippleAddress::VER_ACCOUNT_PRIVATE, 'h');
testBase58(RippleAddress::VER_SEED,'s');
@@ -48,12 +48,12 @@ class RippleAddress : public CBase58Data
typedef enum
{
VER_NONE = 1,
VER_NODE_PUBLIC = 9, // n
VER_NODE_PRIVATE = 107, //v
VER_NODE_PUBLIC = 122, // n
VER_NODE_PRIVATE = 102, //h
VER_ACCOUNT_ID = 0, // g
VER_ACCOUNT_PUBLIC = 5, //p
VER_ACCOUNT_PRIVATE = 8, //h
VER_SEED = 3 // s
VER_ACCOUNT_PUBLIC = 67, //p
VER_ACCOUNT_PRIVATE = 101, //h
VER_SEED = 33 // s
} VersionEncoding;
RippleAddress ();

0 comments on commit 0e42445

Please sign in to comment.