Skip to content
Permalink
Browse files

Merge pull request #120 from WalletConnect/refactor-utils

Refactor @walletconnect/utils
  • Loading branch information...
pedrouid committed May 10, 2019
2 parents 4033e7e + 6f0480c commit f585ac08ee3acbd60fd9b35ce2e52b2511f70dd9

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

@@ -169,7 +169,7 @@ class Connector {

get key (): string {
if (this._key) {
const key: string = convertArrayBufferToHex(this._key)
const key: string = convertArrayBufferToHex(this._key, true)
return key
}
return ''
@@ -612,7 +612,7 @@ class Connector {
case 'eth_accounts':
return this.accounts
case 'eth_chainId':
return convertUtf8ToHex(`${this.chainId}`, true)
return convertUtf8ToHex(`${this.chainId}`)
case 'eth_sendTransaction':
case 'eth_signTransaction':
if (request.params) {

Some generated files are not rendered by default. Learn more.

0 comments on commit f585ac0

Please sign in to comment.
You can’t perform that action at this time.