From 0eace90ed68f2a677808d9ba7e0da60dc76a9f31 Mon Sep 17 00:00:00 2001 From: debris Date: Tue, 11 Aug 2015 12:39:21 +0200 Subject: [PATCH] fixed icap example --- example/icap.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/icap.html b/example/icap.html index a87dcbd..d17b812 100644 --- a/example/icap.html +++ b/example/icap.html @@ -128,7 +128,7 @@ var value = new BigNumber(document.getElementById('value').value); var exchange = document.getElementById('exchange').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); };