message: feat(sdk-coin-sol): update checks for undefined, removed redundant check
  Ticket:
diff: @@ -636,27 +636,27 @@ export class Sol extends BaseCoin {
  async recover(params: RecoveryOptions): Promise<SolTx> {
  let isDurableNonceRecovery = false;
  - if (_.isUndefined(params.userKey)) {
  + if (!params.userKey) {
  throw new Error('missing userKey');
  }
  - if (_.isUndefined(params.backupKey)) {
  + if (!params.backupKey) {
  throw new Error('missing backupKey');
  }
  - if (_.isUndefined(params.bitgoKey)) {
  + if (!params.bitgoKey) {
  throw new Error('missing backupKey');
  }
  - if (_.isUndefined(params.walletPassphrase)) {
  + if (!params.walletPassphrase) {
  throw new Error('missing wallet passphrase');
  }
  - if (!_.isUndefined(params.durableNoncePK) && !_.isUndefined(params.durableNonceSK)) {
  + if (params.durableNoncePK && params.durableNonceSK) {
  isDurableNonceRecovery = true;
  }
  - if (_.isUndefined(params.recoveryDestination) || !this.isValidAddress(params.recoveryDestination)) {
  + if (!params.recoveryDestination || !this.isValidAddress(params.recoveryDestination)) {
  throw new Error('invalid recoveryDestination');
  }
  @@ -667,7 +667,6 @@ export class Sol extends BaseCoin {
  // Decrypt private keys from KeyCard values
  let userPrv;
  - if (!userKey.startsWith('xpub') && !userKey.startsWith('xprv')) {
  try {
  userPrv = this.bitgo.decrypt({
  input: userKey,
  @@ -676,7 +675,6 @@ export class Sol extends BaseCoin {
  } catch (e) {
  throw new Error(`Error decrypting user keychain: ${e.message}`);
  }
  - }
  const userSigningMaterial = JSON.parse(userPrv) as UserSigningMaterial;
  let backupPrv;
  