diff --git a/packages/dai/src/eth/accounts/factories.js b/packages/dai/src/eth/accounts/factories.js index bbbc1ca3f..f316c8ad0 100644 --- a/packages/dai/src/eth/accounts/factories.js +++ b/packages/dai/src/eth/accounts/factories.js @@ -17,7 +17,10 @@ export function privateKeyAccountFactory({ key }) { const keyBuffer = Buffer.from(keySansPrefix, 'hex'); const subprovider = new Wallet( - { getAddressString: () => account.address.toLowerCase(), getPrivateKey: () => keyBuffer }, + { + getAddressString: () => account.address.toLowerCase(), + getPrivateKey: () => keyBuffer + }, {} );