From 65a276bd7bf13f00ff532a684f893d182226a21d Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Wed, 21 Mar 2018 22:53:10 -0700 Subject: [PATCH] waddrmgr/db: internalBranch -> InternalBranch --- waddrmgr/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waddrmgr/db.go b/waddrmgr/db.go index 50fa73f..dd3eb49 100644 --- a/waddrmgr/db.go +++ b/waddrmgr/db.go @@ -1477,7 +1477,7 @@ func putChainedAddress(ns walletdb.ReadWriteBucket, scope *KeyScope, // is internal or external. nextExternalIndex := arow.nextExternalIndex nextInternalIndex := arow.nextInternalIndex - if branch == internalBranch { + if branch == InternalBranch { nextInternalIndex = index + 1 } else { nextExternalIndex = index + 1