From cc6b990bdbce145e1428a4ed2c60837de97d8d36 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Sun, 21 Apr 2019 06:50:38 -0700 Subject: [PATCH] Revert "Attempt to fix coredump found by TheTrunk/Shossain" This reverts commit 4b8ae2623231e15b7a997faa12b448b5f0e328a3. --- src/chain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chain.h b/src/chain.h index 46ad8f9ad..d810ed4cb 100644 --- a/src/chain.h +++ b/src/chain.h @@ -361,7 +361,7 @@ public: inline int32_t GetHeight() const { - return this->chainPower ? this->chainPower.nHeight : 0; + return this->chainPower.nHeight; } CDiskBlockPos GetBlockPos() const {