Skip to content

Commit 6c5d6c1

Browse files
authored
fix(qt): provide correct data into intro dlg (#5348)
## Issue being fixed or feature implemented we failed to backport 13216 correctly in #4359 noticed this while reviewing/testing #5255 ## What was done? fix it ## How Has This Been Tested? run qt with `-resetguisetting` and check info with and without the patch on testnet for example (or tweak regtest params and test there) ## Breaking Changes n/a ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
1 parent e697554 commit 6c5d6c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/intro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ bool Intro::showIfNeeded(interfaces::Node& node, bool& did_show_intro, bool& pru
208208
}
209209

210210
/* Let the user choose one */
211-
Intro intro(0, node.getAssumedChainStateSize(), node.getAssumedChainStateSize());
211+
Intro intro(0, node.getAssumedBlockchainSize(), node.getAssumedChainStateSize());
212212
GUIUtil::disableMacFocusRect(&intro);
213213
GUIUtil::loadStyleSheet(true);
214214
intro.setDataDirectory(dataDirDefaultCurrent);

0 commit comments

Comments
 (0)