chainntnfs/btcdnotify: fix off-by one error when setting spending height

This commit is contained in:
Olaoluwa Osuntokun 2017-05-23 18:18:45 -07:00
parent 065f646ef8
commit 0050108391
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -381,7 +381,7 @@ out:
if newSpend.details != nil {
spendDetails.SpendingHeight = newSpend.details.Height
} else {
spendDetails.SpendingHeight = currentHeight
spendDetails.SpendingHeight = currentHeight + 1
}
for _, ntfn := range clients {