Execute migration steps
This commit is contained in:
@@ -19,13 +19,17 @@ const QString Utils::getDonationAddr() {
|
||||
return "t1KfJJrSuVYmnNLrw7EZHRv1kZY3zdGGLyb";
|
||||
}
|
||||
|
||||
const QString Utils::getDevSproutAddr() {
|
||||
return "ztbGDqgkmXQjheivgeirwEvJLD4SUNqsWCGwxwVg4YpGz1ARR8P2rXaptkT14z3NDKamcxNmQuvmvktyokMs7HkutRNSx1D";
|
||||
}
|
||||
|
||||
// Get the dev fee address based on the transaction
|
||||
const QString Utils::getDevAddr(Tx tx) {
|
||||
auto testnetAddrLookup = [=] (const QString& addr) -> QString {
|
||||
if (addr.startsWith("ztestsapling")) {
|
||||
return "ztestsapling1kdp74adyfsmm9838jaupgfyx3npgw8ut63stjjx757pc248cuc0ymzphqeux60c64qe5qt68ygh";
|
||||
} else if (addr.startsWith("zt")) {
|
||||
return "ztbGDqgkmXQjheivgeirwEvJLD4SUNqsWCGwxwVg4YpGz1ARR8P2rXaptkT14z3NDKamcxNmQuvmvktyokMs7HkutRNSx1D";
|
||||
return getDevSproutAddr();
|
||||
} else {
|
||||
return QString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user