Page MenuHomePhabricator

[wallet] Move getHeight from Chain::Lock interface to simple Chain
ClosedPublic

Authored by deadalnix on Oct 15 2020, 14:39.

Details

Summary

Instead of calling getHeight, we rely on CWallet::m_last_block
processed_height where it's possible.

Backport of Core PR16426 part [1/5] : https://github.com/bitcoin/bitcoin/pull/16426/commits/b855592d835bf4b3fb1263b88d4f96669a1722b1

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable