Skip to content

Commit

Permalink
Method to get
Browse files Browse the repository at this point in the history
POCKETNET_TEAM address
  • Loading branch information
lostystyg committed Apr 18, 2022
1 parent 9722326 commit c0e9504
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/pocketdb/helpers/PocketnetHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ namespace PocketHelpers
auto net = Params().NetworkID();
return find(PocketnetDevelopers[net].begin(), PocketnetDevelopers[net].end(), address) != PocketnetDevelopers[net].end();
}

static inline std::string GetPocketnetteamAddress()
{
switch (Params().NetworkID()) {
case NetworkMain:
return "PEj7QNjKdDPqE9kMDRboKoCtp8V6vZeZPd";
case NetworkTest:
return "TAqR1ncH95eq9XKSDRR18DtpXqktxh74UU";
default:
return "";
}
}
}

#endif // POCKETHELPERS_POCKETNET_HELPER_H

0 comments on commit c0e9504

Please sign in to comment.