mirror of
https://github.com/seigler/govobject-proposal
synced 2025-07-27 06:46:10 +00:00
fill $("#time").val once again for the time parameter in gobject cmd
This commit is contained in:
parent
5bd3161162
commit
5f02e8df8b
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@
|
||||||
|
|
||||||
|
|
||||||
$.getJSON("http://195.141.143.55:3001/insight-api-dash/status?q=getinfo", function( data ) {
|
$.getJSON("http://195.141.143.55:3001/insight-api-dash/status?q=getinfo", function( data ) {
|
||||||
|
$("#time").val(Math.floor((new Date).getTime() / 1000));
|
||||||
|
console.log('time: ' + $("#time").val());
|
||||||
blockheight = data.info.blocks;
|
blockheight = data.info.blocks;
|
||||||
console.log('network: ' + gov.network);
|
console.log('network: ' + gov.network);
|
||||||
var budgetPaymentCycleBlocks = getBudgetPaymentCycleBlocks();
|
var budgetPaymentCycleBlocks = getBudgetPaymentCycleBlocks();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue