Skip to content

Commit

Permalink
Update address in Founders' Reward gtest
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Oct 4, 2016
1 parent f92f004 commit 9cf182d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gtest/test_foundersreward.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ TEST(founders_reward_test, general) {
CChainParams params = Params();

// First testnet reward:
// address = 2NF5QVDMtYBHaUzPLTxirybjwPjm9wVwacv
// address = t2UNzUUx8mWBCRYPRezvA363EYXyEpHokyi
// script = OP_HASH160 ef775f1f997f122a062fff1a2d7443abd1f9c642 OP_EQUAL
// raw script = a914ef775f1f997f122a062fff1a2d7443abd1f9c64287
EXPECT_EQ(params.GetFoundersRewardScriptAtHeight(1), ParseHex("a914ef775f1f997f122a062fff1a2d7443abd1f9c64287"));
EXPECT_EQ(params.GetFoundersRewardAddressAtHeight(1), "2NF5QVDMtYBHaUzPLTxirybjwPjm9wVwacv");
EXPECT_EQ(params.GetFoundersRewardAddressAtHeight(1), "t2UNzUUx8mWBCRYPRezvA363EYXyEpHokyi");

int maxHeight = params.GetConsensus().GetLastFoundersRewardBlockHeight();

Expand Down Expand Up @@ -175,4 +175,4 @@ TEST(founders_reward_test, per_address_reward_mainnet) {
TEST(founders_reward_test, per_address_reward_testnet) {
SelectParams(CBaseChainParams::TESTNET);
verifyNumberOfRewards();
}
}

0 comments on commit 9cf182d

Please sign in to comment.