From 1fd9840bb44205bd22aae50f79b00e990db31344 Mon Sep 17 00:00:00 2001 From: Padraic-O-Mhuiris Date: Tue, 26 Jan 2021 19:26:27 +0000 Subject: [PATCH] extra check for balances on BTC tokens --- packages/dai-plugin-mcd/src/schemas/token.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/dai-plugin-mcd/src/schemas/token.js b/packages/dai-plugin-mcd/src/schemas/token.js index f290dc72d..e1875aa65 100644 --- a/packages/dai-plugin-mcd/src/schemas/token.js +++ b/packages/dai-plugin-mcd/src/schemas/token.js @@ -37,7 +37,11 @@ export const tokenBalance = { [TOKEN_BALANCE]: v => { if (symbol === 'USDC' || symbol === 'USDT') { return currencyToken(v, -6); - } else if (symbol === 'WBTC' || symbol === 'RENBTC') { + } else if ( + symbol === 'WBTC' || + symbol === 'RENBTC' || + symbol === 'UNIV2WBTCETH' + ) { return currencyToken(v, -8); } else if (symbol === 'GUSD') { return currencyToken(v, -2);