Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
SDK-746 handle absence of gas service settings correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
levity committed Feb 10, 2020
1 parent 5aa6bcc commit fb29a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dai/src/eth/GasService.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class GasService extends PublicService {
this._parseConfig(settings.price, 'price');
}

this._settings = settings;
this._settings = settings || {};

this._gasStationDataPromise = this.disablePrice
? Promise.resolve({})
Expand Down

0 comments on commit fb29a14

Please sign in to comment.