invoices: move lock acquisition down
invoices: move lock acquisition down

Move in separate commit to make next commit more readable.

aakselrod/lnd,LightningNetwork/lnd,aakselrod/lnd,LightningNetwork/lnd