Browse Source

Attempt to fix coredump found by TheTrunk/Shossain

z_createrawtransaction
Jonathan "Duke" Leto 5 years ago
parent
commit
4b8ae26232
  1. 2
      src/chain.h

2
src/chain.h

@ -361,7 +361,7 @@ public:
inline int32_t GetHeight() const
{
return this->chainPower.nHeight;
return this->chainPower ? this->chainPower.nHeight : 0;
}
CDiskBlockPos GetBlockPos() const {

Loading…
Cancel
Save