mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
fix: versioning not showing in the pusher's footer
This commit is contained in:
parent
0da43d8f5d
commit
eda16d4559
2 changed files with 5 additions and 10 deletions
|
@ -1297,7 +1297,7 @@ public:
|
||||||
string rawtx_html = xmreg::read(TMPL_MY_RAWTX);
|
string rawtx_html = xmreg::read(TMPL_MY_RAWTX);
|
||||||
|
|
||||||
// add header and footer
|
// add header and footer
|
||||||
string full_page = rawtx_html + xmreg::read(TMPL_FOOTER);
|
string full_page = rawtx_html + get_footer();
|
||||||
|
|
||||||
add_css_style(context);
|
add_css_style(context);
|
||||||
|
|
||||||
|
@ -1326,7 +1326,6 @@ public:
|
||||||
if (strncmp(decoded_raw_tx_data.c_str(), UNSIGNED_TX_PREFIX, magiclen) == 0)
|
if (strncmp(decoded_raw_tx_data.c_str(), UNSIGNED_TX_PREFIX, magiclen) == 0)
|
||||||
{
|
{
|
||||||
unsigned_tx_given = true;
|
unsigned_tx_given = true;
|
||||||
cout << "UNSIGNED_TX_PREFIX data given" << endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// initalize page template context map
|
// initalize page template context map
|
||||||
|
@ -1625,7 +1624,7 @@ public:
|
||||||
for (tx_destination_entry& a_dest: ptx.construction_data.splitted_dsts)
|
for (tx_destination_entry& a_dest: ptx.construction_data.splitted_dsts)
|
||||||
{
|
{
|
||||||
//stealth_address_amount.insert({dest.addr, dest.amount});
|
//stealth_address_amount.insert({dest.addr, dest.amount});
|
||||||
cout << get_account_address_as_str(testnet, a_dest.addr) << endl;
|
//cout << get_account_address_as_str(testnet, a_dest.addr) << endl;
|
||||||
//address_amounts.push_back(a_dest.amount);
|
//address_amounts.push_back(a_dest.amount);
|
||||||
|
|
||||||
destination_addresses.push_back(
|
destination_addresses.push_back(
|
||||||
|
@ -1820,7 +1819,7 @@ public:
|
||||||
string checkrawtx_html = xmreg::read(TMPL_MY_CHECKRAWTX);
|
string checkrawtx_html = xmreg::read(TMPL_MY_CHECKRAWTX);
|
||||||
|
|
||||||
// add header and footer
|
// add header and footer
|
||||||
string full_page = checkrawtx_html + xmreg::read(TMPL_FOOTER);
|
string full_page = checkrawtx_html + get_footer();
|
||||||
|
|
||||||
add_css_style(context);
|
add_css_style(context);
|
||||||
|
|
||||||
|
@ -1853,7 +1852,7 @@ public:
|
||||||
string pushrawtx_html = xmreg::read(TMPL_MY_PUSHRAWTX);
|
string pushrawtx_html = xmreg::read(TMPL_MY_PUSHRAWTX);
|
||||||
|
|
||||||
// add header and footer
|
// add header and footer
|
||||||
string full_page = pushrawtx_html + xmreg::read(TMPL_FOOTER);
|
string full_page = pushrawtx_html + get_footer();
|
||||||
|
|
||||||
add_css_style(context);
|
add_css_style(context);
|
||||||
|
|
||||||
|
|
|
@ -311,10 +311,8 @@ sum_money_in_outputs(const string& json_str)
|
||||||
{
|
{
|
||||||
pair<uint64_t, uint64_t> sum_xmr {0, 0};
|
pair<uint64_t, uint64_t> sum_xmr {0, 0};
|
||||||
|
|
||||||
cout << json_str << endl;
|
|
||||||
|
|
||||||
|
|
||||||
json j;
|
json j;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
j = json::parse( json_str);
|
j = json::parse( json_str);
|
||||||
|
@ -367,8 +365,6 @@ sum_money_in_inputs(const string& json_str)
|
||||||
{
|
{
|
||||||
pair<uint64_t, uint64_t> sum_xmr {0, 0};
|
pair<uint64_t, uint64_t> sum_xmr {0, 0};
|
||||||
|
|
||||||
cout << json_str << endl;
|
|
||||||
|
|
||||||
json j;
|
json j;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue