mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
add js decoding for checking raw txs
This commit is contained in:
parent
3b8b9b3a78
commit
b9e9c60267
1 changed files with 7 additions and 0 deletions
|
@ -2320,6 +2320,9 @@ namespace xmreg
|
||||||
|
|
||||||
add_css_style(context);
|
add_css_style(context);
|
||||||
|
|
||||||
|
if (enable_js)
|
||||||
|
add_js_files(context);
|
||||||
|
|
||||||
if (unsigned_tx_given)
|
if (unsigned_tx_given)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -2660,6 +2663,9 @@ namespace xmreg
|
||||||
|
|
||||||
add_css_style(context);
|
add_css_style(context);
|
||||||
|
|
||||||
|
if (enable_js)
|
||||||
|
add_js_files(context);
|
||||||
|
|
||||||
// render the page
|
// render the page
|
||||||
return mstch::render(template_file["checkrawtx"], context, partials);
|
return mstch::render(template_file["checkrawtx"], context, partials);
|
||||||
|
|
||||||
|
@ -2906,6 +2912,7 @@ namespace xmreg
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
map<string, string> partials {
|
map<string, string> partials {
|
||||||
{"tx_details", template_file["tx_details"]},
|
{"tx_details", template_file["tx_details"]},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue