mirror of
https://github.com/fluencelabs/lazy-snark
synced 2025-04-24 14:32:14 +00:00
Refactored frontend
This commit is contained in:
parent
c68da0811f
commit
349849b2a9
@ -430,7 +430,6 @@ $('button').click(function () {
|
||||
function challengeEthereum(id, data) {
|
||||
console.log('Challenging task N ' + data + ' on Ethereum!');
|
||||
contractInstance.challenge.sendTransaction(data, function (err, txHash) {
|
||||
$('#challenge-' + id).text('See tx on Etherscan!');
|
||||
$('#challenge-' + id).attr("onclick", "window.open('https://rinkeby.etherscan.io/tx/" + txHash + "')");
|
||||
$('#challenge-' + id).text('See tx on Etherscan!').attr("onclick", "window.open('https://rinkeby.etherscan.io/tx/" + txHash + "')");
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user