waddrmgr/db: internalBranch -> InternalBranch

This commit is contained in:
Conner Fromknecht 2018-03-21 22:53:10 -07:00 committed by Olaoluwa Osuntokun
parent 549eca51de
commit 65a276bd7b

View file

@ -1477,7 +1477,7 @@ func putChainedAddress(ns walletdb.ReadWriteBucket, scope *KeyScope,
// is internal or external. // is internal or external.
nextExternalIndex := arow.nextExternalIndex nextExternalIndex := arow.nextExternalIndex
nextInternalIndex := arow.nextInternalIndex nextInternalIndex := arow.nextInternalIndex
if branch == internalBranch { if branch == InternalBranch {
nextInternalIndex = index + 1 nextInternalIndex = index + 1
} else { } else {
nextExternalIndex = index + 1 nextExternalIndex = index + 1