you're using the old version.
oops
Ok... now running the newer version I'm getting the empty scriptPubKey
too. I guess I should properly debug this when I have the chance, but I wonder
about this:
rpcmining.cpp:36
// getwork/getblocktemplate mining rewards paid here:
pMiningKey = new CReserveKey(pwalletMain);
The
static pMiningKey that is defined a few lines above gave
me errors when I tried to build with wallet-disabled configuration, so
something is funny around there anyway. (in that case I got rid of those errors
by putting the pMiningKey definition to miner.h and made the two
aux functions return false)