File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed
Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 304304
305305 try
306306 {
307- var passwrod = HardwareService .Encrypt (PassCode , " iV1z@$H8" );
307+ var passwrod = HardwareService .Encrypt (" iV1z@$H8" , PassCode );
308308 var PK = HardwareService .Encrypt (Wallet .PrivateKey , PassCode );
309309
310310 switch (Communication .SoftwareType )
Original file line number Diff line number Diff line change 6565 private IHardwareService HardwareService { get ; set ; }
6666 private string Port { get ; set ; }
6767
68-
69-
68+
69+
7070 protected override Task OnAfterRenderAsync (bool firstRender )
7171 {
7272
8484
8585
8686 }
87-
88-
87+
88+
8989
9090 private void LoadHotWallet ()
9191 {
100100
101101 private void LoadColdWallet ()
102102 {
103+ Communication .SoftwareType = ConfigMode .ColdWallet ;
103104 NavigationManager .NavigateTo (" HardwareSelect" );
104-
105105 }
106106
107107}
Original file line number Diff line number Diff line change 100100 return ;
101101 }
102102
103- var passwrod = HardwareService .Encrypt (Password , " iV1z@$H8" );
103+ var passwrod = HardwareService .Encrypt (" iV1z@$H8" , Password );
104104 Communication .Pass = Password ;
105105
106106 switch (Communication .SoftwareType )
Original file line number Diff line number Diff line change 11
22using ArduinoUploader . Hardware ;
3- using Microsoft . Extensions . Logging ;
43using Newtonsoft . Json ;
54using NFTLock . Models ;
65using SYNCWallet . Models ;
You can’t perform that action at this time.
0 commit comments