Skip to content

Commit

Permalink
safe1 sapling prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
sol committed May 17, 2020
1 parent 37b521c commit 880c1b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added safecoinwallet
Binary file not shown.
2 changes: 1 addition & 1 deletion src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ bool Settings::isValidSaplingPrivateKey(QString pk) {
}

bool Settings::isValidAddress(QString addr) {
QRegExp zsexp("^zs1[a-z0-9]{75}$", Qt::CaseInsensitive);
QRegExp zsexp("^safe1[a-z0-9]{77}$", Qt::CaseInsensitive);
QRegExp ztsexp("^ztestsapling[a-z0-9]{76}", Qt::CaseInsensitive);
QRegExp texp("^R[a-z0-9]{33}$", Qt::CaseInsensitive);
QRegExp tsexp("^1[a-z0-9]{33}$", Qt::CaseInsensitive);
Expand Down

0 comments on commit 880c1b8

Please sign in to comment.