Skip to content

Commit

Permalink
Merge 679f620 into merged_master (Elements PR ElementsProject#928)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdorfman committed Mar 13, 2023
2 parents 5a40d83 + 679f620 commit 96c650b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/mining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@ static RPCHelpMan testproposedblock()
uint256 hash = block.GetHash();
BlockMap::iterator mi = chainman.BlockIndex().find(hash);
if (mi != chainman.BlockIndex().end())
throw JSONRPCError(RPC_VERIFY_ERROR, "already have block");
throw JSONRPCError(RPC_VERIFY_ALREADY_IN_CHAIN, "already have block");

CBlockIndex* const pindexPrev = chainman.ActiveChain().Tip();
// TestBlockValidity only supports blocks built on the current Tip
Expand Down

0 comments on commit 96c650b

Please sign in to comment.