Commit 2181a12e authored by Grandschtroumpf's avatar Grandschtroumpf

update browser test

parent 4dcb7105
...@@ -44,7 +44,10 @@ window.onload = function () { ...@@ -44,7 +44,10 @@ window.onload = function () {
}) })
document.querySelector('input#testaccountcreation').addEventListener('click', function () { document.querySelector('input#testaccountcreation').addEventListener('click', function () {
extension.call('udapp', 'createVMAccount', ['71975fbf7fe448e004ac7ae54cad0a383c3906055a75468714156a07385e96ce', '0x56BC75E2D63100000'], extension.call('udapp', 'createVMAccount', [{
privateKey: '71975fbf7fe448e004ac7ae54cad0a383c3906055a75468714156a07385e96ce',
balance: '0x56BC75E2D63100000'
}],
function (error, result) { console.log(error, result) }) function (error, result) { console.log(error, result) })
}) })
......
...@@ -64,7 +64,10 @@ window.onload = function () { ...@@ -64,7 +64,10 @@ window.onload = function () {
action: 'request', action: 'request',
key: 'udapp', key: 'udapp',
type: 'createVMAccount', type: 'createVMAccount',
value: ['71975fbf7fe448e004ac7ae54cad0a383c3906055a75468714156a07385e96ce', '0x56BC75E2D63100000'], value: [{
privateKey: '71975fbf7fe448e004ac7ae54cad0a383c3906055a75468714156a07385e96ce',
balance: '0x56BC75E2D63100000'
}],
id: 38 id: 38
}), '*') }), '*')
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment