From fb29a1445a2796f08d1ecc3d25030e39a521f3db Mon Sep 17 00:00:00 2001 From: Lawrence Wang Date: Mon, 10 Feb 2020 15:57:02 -0800 Subject: [PATCH] SDK-746 handle absence of gas service settings correctly --- packages/dai/src/eth/GasService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dai/src/eth/GasService.js b/packages/dai/src/eth/GasService.js index 48f6af448..39d86bb87 100644 --- a/packages/dai/src/eth/GasService.js +++ b/packages/dai/src/eth/GasService.js @@ -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({})