Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed May 19, 2020
1 parent b11f7d2 commit 4a427ab
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/assets/v2/js/pages/tokens_settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ load_tokens_from_network('mainnet');

$(document).ready(function() {

waitforWeb3(function() {
$('#contract_address').val(bounty_address());
});

$('.js-select2').each(function() {
$(this).select2();
});
Expand All @@ -24,7 +20,7 @@ $(document).ready(function() {

// form
var token_address = $('select[name=denomination]').val();
var contract_address = $('#contract_address').val();
var contract_address = bounty_address();
var contract_name = $('select[name=contract] option:selected').text().trim();
var token_name = $('select[name=denomination] option:selected').text().trim();

Expand Down Expand Up @@ -68,7 +64,6 @@ $(document).ready(function() {
$('#coinbase').val(from);
$('#token_name').val(token_name);
$('#token_address').val(token_address);
$('#contract_address').val(contract_address);
$('#contract_name').val(contract_name);
$('#network').val(document.web3network);
$('#txid').val(tx);
Expand Down

0 comments on commit 4a427ab

Please sign in to comment.