aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorDaniel Kraft <[email protected]>2015-08-18 09:07:33 +0200
committerDaniel Kraft <[email protected]>2015-08-18 09:07:33 +0200
commit20165769989ed5aa744af2b73dfcf9d5a5cf7aa0 (patch)
tree56692e75f44ad30ef55eaa42764e46f0643b35b1 /src/net.cpp
parentMerge pull request #6553 (diff)
downloaddiscoin-20165769989ed5aa744af2b73dfcf9d5a5cf7aa0.tar.xz
discoin-20165769989ed5aa744af2b73dfcf9d5a5cf7aa0.zip
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.
Diffstat (limited to 'src/net.cpp')
0 files changed, 0 insertions, 0 deletions