mirror of https://github.com/status-im/web3.js.git
fixed icap example
This commit is contained in:
parent
934b272f10
commit
0eace90ed6
|
@ -128,7 +128,7 @@
|
||||||
var value = new BigNumber(document.getElementById('value').value);
|
var value = new BigNumber(document.getElementById('value').value);
|
||||||
var exchange = document.getElementById('exchange').value;
|
var exchange = document.getElementById('exchange').value;
|
||||||
var client = document.getElementById('client').value;
|
var client = document.getElementById('client').value;
|
||||||
deposit.deposit(client, {value: value});
|
deposit.deposit(web3.fromAscii(client), {value: value});
|
||||||
displayTransfer("deposited client's " + client + " funds " + value.toString(10) + " to exchange " + exchange);
|
displayTransfer("deposited client's " + client + " funds " + value.toString(10) + " to exchange " + exchange);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue