mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge github.com:MetaMask/metamask-plugin into i1144-moarrpc
This commit is contained in:
commit
970324b699
@ -109,7 +109,7 @@
|
|||||||
"valid-url": "^1.0.9",
|
"valid-url": "^1.0.9",
|
||||||
"vreme": "^3.0.2",
|
"vreme": "^3.0.2",
|
||||||
"web3": "0.18.2",
|
"web3": "0.18.2",
|
||||||
"web3-provider-engine": "^9.1.0",
|
"web3-provider-engine": "^10.0.0",
|
||||||
"web3-stream-provider": "^2.0.6",
|
"web3-stream-provider": "^2.0.6",
|
||||||
"xtend": "^4.0.1"
|
"xtend": "^4.0.1"
|
||||||
},
|
},
|
||||||
|
@ -88,7 +88,7 @@ describe('Personal Message Manager', function() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
describe('#normalizeMsgData', function() {
|
describe('#normalizeMsgData', function() {
|
||||||
it('converts text to a utf8 buffer', function() {
|
it('converts text to a utf8 hex string', function() {
|
||||||
var input = 'hello'
|
var input = 'hello'
|
||||||
var output = messageManager.normalizeMsgData(input)
|
var output = messageManager.normalizeMsgData(input)
|
||||||
assert.equal(output, '0x68656c6c6f', 'predictably hex encoded')
|
assert.equal(output, '0x68656c6c6f', 'predictably hex encoded')
|
||||||
|
Loading…
Reference in New Issue
Block a user