Skip to content

Commit

Permalink
Fix dvm genesis block minter info
Browse files Browse the repository at this point in the history
  • Loading branch information
sieniven committed Aug 24, 2023
1 parent 4b8b361 commit 0759c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ struct MinterInfo {
CKeyID minter;
block.ExtractMinterKey(minter);
auto id = view.GetMasternodeIdByOperator(minter);
if (!id) return {};
if (!id && blockindex->nHeight != 0) return {};
result.Id = id->ToString();
auto mn = view.GetMasternode(*id);
if (mn) {
Expand Down

0 comments on commit 0759c14

Please sign in to comment.