Update btcd for btcdb API change.
Update btcd for btcdb API change.

Rearrange code to pull out last tx as was previously expected.

qchain/btcd,pkothbauer/btcd,hectorj/btcd,sysbot/btcd,danoctavian/btcd,cqswxj2013/btcd,tb00/btcd,aakselrod/btcd,dajohi/btcd,toddfries/btcd,davecgh/btcd,jrick/dcrd,jongillham/btcd,cqswxj2013/btcd,ppcsuite/ppcd-old,ppcsuite/ppcd-old,glv2/ppcd,jcmincke/dcrd,btcsuite/btcd,stevenroose/btcd,dan-da/btcd,qchain/btcd,Stash-Crypto/btcd,Cleawing/btcd,decred/dcrd,ppcsuite/ppcd,runeaune/btcd,jrick/dcrd,pkothbauer/btcd,Dirbaio/btcd,sysbot/btcd,stevenroose/btcd,tb00/btcd,Dirbaio/btcd,jrick/btcd,soapboxsys/ombfullnode,BitGo/prova,BitGo/prova,wallclockbuilder/btcd,dan-da/btcd,decred/dcrd,cjepson/btcd,CryptocurrencyCabal/htcd,Cleawing/btcd,danoctavian/btcd,glv2/ppcd,Roasbeef/btcd,DanielKrawisz/btcd,cjepson/btcd,CryptocurrencyCabal/htcd,hectorj/btcd,mathiasrw/btcd,dajohi/btcd,jimmysong/btcd,soapboxsys/ombfullnode,dajohi/btcd,btcsuite/btcd,mathiasrw/btcd,Dirbaio/btcd,adiabat/btcd,FactomProject/btcd,ltcsuite/ltcd,jimmysong/btcd,ppcsuite/ppcd,toddfries/btcd,btcsuitereleases/btcd,davecgh/btcd,jcmincke/dcrd,jongillham/btcd,Stash-Crypto/btcd,jcmincke/dcrd,jrick/btcd,Evil-Coin/Evil,btcsuitereleases/btcd,adiabat/btcd,ltcsuite/ltcd,Evil-Coin/Evil,1d4Nf6/btcd,aakselrod/btcd,Roasbeef/btcd,FactomProject/btcd,runeaune/btcd,1d4Nf6/btcd,jrick/btcd,DanielKrawisz/btcd,wallclockbuilder/btcd