You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WriteUpProject/ViewModels/Pages/Page1ViewModel .cs
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ public class Page1ViewModel : ViewModelBase
16
16
privatestring_selectedNetwork="Main";
17
17
privatestring_fundingTxHex;
18
18
privatestring_vout;
19
-
privatestring_xpub;
20
-
privatestring_derivationPath;
21
-
privatestring_fingerprint;
19
+
privatestring?_xpub;
20
+
privatestring?_derivationPath;
21
+
privatestring?_fingerprint;
22
22
23
23
publicList<string>Networks{get;}=new()
24
24
{
@@ -46,19 +46,19 @@ public string Vout
46
46
set=>SetProperty(ref_vout,value);
47
47
}
48
48
49
-
publicstringXpub
49
+
publicstring?Xpub
50
50
{
51
51
get=>_xpub;
52
52
set=>SetProperty(ref_xpub,value);
53
53
}
54
54
55
-
publicstringDerivationPath
55
+
publicstring?DerivationPath
56
56
{
57
57
get=>_derivationPath;
58
58
set=>SetProperty(ref_derivationPath,value);
59
59
}
60
60
61
-
publicstringFingerprint
61
+
publicstring?Fingerprint
62
62
{
63
63
get=>_fingerprint;
64
64
set=>SetProperty(ref_fingerprint,value);
@@ -88,7 +88,7 @@ private void NavigateToPage2()
88
88
89
89
privateboolIsValid(Networknetwork)
90
90
{
91
-
returnValidatorService.ValidateTxHex(FundingTxHex)&&Voutis not null&&ValidatorService.ValidateXpub(Xpub,network)&&ValidatorService.ValidateDerivationPath(DerivationPath)&&ValidatorService.ValidateFingerprint(Fingerprint);
91
+
returnValidatorService.ValidateTxHex(FundingTxHex)&&Voutis not null;
0 commit comments