Skip to content

Commit a7a69df

Browse files
UdjinM6PastaPastaPasta
authored andcommitted
fix(qt): provide correct data into intro dlg (dashpay#5348)
## Issue being fixed or feature implemented we failed to backport 13216 correctly in dashpay#4359 noticed this while reviewing/testing dashpay#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 5b4c771 commit a7a69df

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
@@ -206,7 +206,7 @@ bool Intro::pickDataDirectory(interfaces::Node& node)
206206
}
207207

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

0 commit comments

Comments
 (0)