Fix longpoll getblocktemplate not getting notified if a block is pushed via submitblock
Fix longpoll getblocktemplate not getting notified if a block is pushed via submitblock

cqswxj2013/btcd,aakselrod/btcd,davecgh/btcd,jcmincke/dcrd,jcmincke/dcrd,pkothbauer/btcd,Stash-Crypto/btcd,hectorj/btcd,btcsuite/btcd,btcsuite/btcd,davecgh/btcd,pkothbauer/btcd,toddfries/btcd,CryptocurrencyCabal/htcd,Roasbeef/btcd,BitGo/prova,BitGo/prova,toddfries/btcd,wallclockbuilder/btcd,jrick/dcrd,jrick/dcrd,tb00/btcd,tb00/btcd,ppcsuite/ppcd,CryptocurrencyCabal/htcd,ppcsuite/ppcd,jrick/btcd,runeaune/btcd,dan-da/btcd,ltcsuite/ltcd,soapboxsys/ombfullnode,decred/dcrd,qchain/btcd,aakselrod/btcd,hectorj/btcd,cqswxj2013/btcd,stevenroose/btcd,ltcsuite/ltcd,qchain/btcd,wallclockbuilder/btcd,jongillham/btcd,dajohi/btcd,mathiasrw/btcd,jrick/btcd,stevenroose/btcd,soapboxsys/ombfullnode,jongillham/btcd,jrick/btcd,dajohi/btcd,mathiasrw/btcd,dan-da/btcd,jcmincke/dcrd,Cleawing/btcd,Stash-Crypto/btcd,adiabat/btcd,adiabat/btcd,dajohi/btcd,runeaune/btcd,Roasbeef/btcd,decred/dcrd,Cleawing/btcd