commit affe4d67da508b3354480a5319679561bfe0ba6c
parent 3e270d311ca48b18cc50435663b0fa4d0388a894
Author: nolash <dev@holbrook.no>
Date: Thu, 7 Jan 2021 19:01:51 +0100
Clear out commented code
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/example.html b/example.html
@@ -50,7 +50,7 @@ function readyStateProcessor(settings, bit) {
wHeadSync.postMessage({
w3_provider: settings.w3.provider,
});
- //fetcher(settings);
+ fetcher(settings);
}
}
@@ -91,10 +91,10 @@ window.addEventListener('load', () => {
const provider = web3_provider;
settings.w3.provider = provider;
settings.w3.engine = new Web3(provider);
- //settings.registry = new cic.CICRegistry(settings.w3.engine, registry_address, cic.abi);
- settings.registry = new cic.CICRegistry(settings.w3.engine, registry_address, new httpGetter(), ['/example_files/data']);
+ const fileGetter = new httpGetter();
+ settings.registry = new cic.CICRegistry(settings.w3.engine, registry_address, fileGetter, ['/example_files/data']);
settings.registry.addTrust(trusted_declarator_address);
- settings.txHelper = new cic.TransactionHelper(settings.w3.engine, settings.registry); //, settings.registry);
+ settings.txHelper = new cic.TransactionHelper(settings.w3.engine, settings.registry);
settings.txHelper.ontransfer = async function(t) {
window.dispatchEvent(newTransferEvent(t));