diff options
author | Anthony Towns <aj@erisian.com.au> | 2022-01-19 04:10:26 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2022-05-10 12:09:33 +1000 |
commit | eaa2e3f25cefbd1b9a1214102f88dbfa8109d244 (patch) | |
tree | db2dbb9f0656a95ced4b7a37c6456b510f4184df /src/rpc | |
parent | 5c67e84d37d452e9186a6357e5405fabeff241c7 (diff) |
validation: move UpdateUncommittedBlockStructures and GenerateCoinbaseCommitment into ChainstateManager
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/mining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 2585c28fb8..c41b1d6cb9 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -993,7 +993,7 @@ static RPCHelpMan submitblock() LOCK(cs_main); const CBlockIndex* pindex = chainman.m_blockman.LookupBlockIndex(block.hashPrevBlock); if (pindex) { - UpdateUncommittedBlockStructures(block, pindex, Params().GetConsensus()); + chainman.UpdateUncommittedBlockStructures(block, pindex); } } |