funding: fix bug that double counts "pending channels" in GetInfo
funding: fix bug that double counts "pending channels" in GetInfo

This commit fixes a bug that double counts the number of pending
channels in GetInfo. Previously we weren’t yet storing the pending
channels on disk, we are now but comparing both the disk channel and
the channels within memory leads us to double count channels. To fix
this, we now only count the database channels.

Note that this NumPendingChannels method can now be removed as it’s no
longer needed.

ddustin/lnd,AndrewSamokhvalov/lnd,AndrewSamokhvalov/lnd,aakselrod/lnd,LightningNetwork/lnd,aakselrod/lnd,LightningNetwork/lnd,ddustin/lnd