Follow wallet setup referrer when autogenerating new wallet

This commit is contained in:
Zach Fox 2018-09-14 15:34:00 -07:00
parent 49e578ebef
commit 68e6142f8b
2 changed files with 2 additions and 1 deletions

View file

@ -831,6 +831,7 @@ Rectangle {
Commerce.getWalletAuthenticatedStatus(); // before writing security image, ensures that salt/account password is set.
Commerce.chooseSecurityImage(securityImagePath);
Commerce.generateKeyPair();
followReferrer({ referrer: walletSetup.referrer });
}
function addLeadingZero(n) {

View file

@ -28,7 +28,7 @@ Item {
property string activeView: "step_1";
property string lastPage;
property bool hasShownSecurityImageTip: false;
property string referrer;
property string referrer: '';
property string keyFilePath;
property date startingTimestamp;
property string setupAttemptID;