HomePhabricator

Fix crash when mining with empty keypool.
20165769989eUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix crash when mining with empty keypool.

Since the introduction of the ScriptForMining callback, the mining
functions (setgenerate and generate) crash with an assertion failure
(due to a NULL pointer script returned) if the keypool is empty. Fix
this by giving a proper error.

Details

Provenance
Daniel Kraft <d@domob.eu>Authored on Aug 18 2015, 07:07
deadalnixPushed on May 14 2017, 22:04
Parents
rABC1e92b275406e: Merge pull request #6553
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Kraft <d@domob.eu> committed rABC20165769989e: Fix crash when mining with empty keypool. (authored by Daniel Kraft <d@domob.eu>).Aug 18 2015, 07:07