diff --git a/lib/plugins/wallet/bitgo/bitgo.js b/lib/plugins/wallet/bitgo/bitgo.js index d7e72bc3..60820efd 100644 --- a/lib/plugins/wallet/bitgo/bitgo.js +++ b/lib/plugins/wallet/bitgo/bitgo.js @@ -16,7 +16,7 @@ const BCH_CODES = ['BCH', 'TBCH'] function buildBitgo (account) { const env = account.environment === 'test' ? 'test' : 'prod' - return new BitGo.BitGo({ accessToken: account.token, env, userAgent: userAgent }) + return new BitGo.BitGo({ accessToken: account.token.trim(), env, userAgent: userAgent }) } function getWallet (account, cryptoCode) {