donation addr fixes

This commit is contained in:
Aditya Kulkarni
2018-10-24 10:17:38 -07:00
parent 6117026cc7
commit 8bb56d7197
3 changed files with 9 additions and 1 deletions

View File

@@ -12,6 +12,13 @@ const QString Utils::getTokenName() {
}
}
const QString Utils::getDonationAddr() {
if (Settings::getInstance()->isTestnet())
return "tmP1JL19JyJh3jPMUbfovk4W67jB7VJWybu";
else
return "t1KfJJrSuVYmnNLrw7EZHRv1kZY3zdGGLyb";
}
// Get the dev fee address based on the transaction
const QString Utils::getDevAddr(Tx tx) {
auto testnetAddrLookup = [=] (const QString& addr) -> QString {