File tree 1 file changed +4
-2
lines changed
packages/keyring-eth-ledger-bridge/src 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,9 @@ export class LedgerKeyring extends EventEmitter {
123
123
return this . bridge . destroy ( ) ;
124
124
}
125
125
126
- async serialize ( ) : Promise < Partial < LedgerBridgeKeyringOptions > > {
126
+ async serialize ( ) : Promise <
127
+ Partial < LedgerBridgeKeyringOptions > // Maybe we should have a proper "state" type here instead of using this "options" type.
128
+ > {
127
129
return {
128
130
hdPath : this . hdPath ,
129
131
accounts : this . accounts ,
@@ -134,7 +136,7 @@ export class LedgerKeyring extends EventEmitter {
134
136
}
135
137
136
138
async deserialize (
137
- opts : Partial < LedgerBridgeKeyringOptions > = { } ,
139
+ opts : Partial < LedgerBridgeKeyringOptions > = { } , // Same question here?
138
140
) : Promise < void > {
139
141
this . hdPath = opts . hdPath ?? hdPathString ;
140
142
this . accounts = opts . accounts ?? [ ] ;
You can’t perform that action at this time.
0 commit comments