reset(viewSecretKey, success, error) {
    return this._sendXHR(
      rpc.reset(
        this.id,
        this.rpcPassword,
        viewSecretKey ? { viewSecretKey }
        : null
      ),
      success,
      error
    )
  }
/**
   * Re-syncs the wallet
   * @param {string} [viewSecretKey] - Private view key for the wallet
   * If the viewSecretKey is not provided, reset() resets the wallet and re-syncs it. If the viewSecretKey argument is provided, reset() substitutes the existing wallet with a new one with the specified viewSecretKey and creates an address for it
   */
Re-syncs the wallet
@param {string} [viewSecretKey] - Private view key for the wallet
If the viewSecretKey is not provided, reset() resets the wallet and re-syncs it. If the viewSecretKey argument is provided, reset() substitutes the existing wallet with a new one with the specified viewSecretKey and creates an address for it
Re - syncs the wallet @param { string } [ viewSecretKey ] - Private view key for the wallet If the viewSecretKey is not provided reset () resets the wallet and re - syncs it . If the viewSecretKey argument is provided reset () substitutes the existing wallet with a new one with the specified viewSecretKey and creates an address for it
reset(viewSecretKey, success, error) {
    return this._sendXHR(
      rpc.reset(
        this.id,
        this.rpcPassword,
        viewSecretKey ? { viewSecretKey }
        : null
      ),
      success,
      error
    )
  }
reset ( viewSecretKey , success , error ) { return this . _sendXHR ( rpc . reset ( this . id , this . rpcPassword , viewSecretKey ? { viewSecretKey } : null ) , success , error ) }
Re-syncs the wallet
 @param {string} [viewSecretKey] - Private view key for the wallet
 If the viewSecretKey is not provided, reset() resets the wallet and re-syncs it.
Re - syncs the wallet @param { string } [ viewSecretKey ] - Private view key for the wallet If the viewSecretKey is not provided reset () resets the wallet and re - syncs it .