diff options
| author | James O'Beirne <[email protected]> | 2019-07-24 11:45:04 -0400 |
|---|---|---|
| committer | James O'Beirne <[email protected]> | 2019-08-06 13:13:06 -0400 |
| commit | fae6ab6aed3b9fdc9201bb19a307dfc3d9b89891 (patch) | |
| tree | 32136f410bdb26e8c414caddf9e3c86dbf45a8db /src/interfaces/node.cpp | |
| parent | Merge #16554: test: only include and use OpenSSL where it's actually needed (... (diff) | |
| download | discoin-fae6ab6aed3b9fdc9201bb19a307dfc3d9b89891.tar.xz discoin-fae6ab6aed3b9fdc9201bb19a307dfc3d9b89891.zip | |
refactor: pcoinsTip -> CChainState::CoinsTip()
This aliasing makes subsequent commits easier to review; eventually CoinsTip()
will return the CCoinsViewCache managed by CChainState.
Diffstat (limited to 'src/interfaces/node.cpp')
| -rw-r--r-- | src/interfaces/node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp index bcd226edd..fc4981750 100644 --- a/src/interfaces/node.cpp +++ b/src/interfaces/node.cpp @@ -232,7 +232,7 @@ public: bool getUnspentOutput(const COutPoint& output, Coin& coin) override { LOCK(::cs_main); - return ::pcoinsTip->GetCoin(output, coin); + return ::ChainstateActive().CoinsTip().GetCoin(output, coin); } std::string getWalletDir() override { |