mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
correctly set testnet flag for tx template context
This commit is contained in:
parent
3cc42cfd7f
commit
b74976dd50
1 changed files with 4 additions and 1 deletions
|
@ -953,7 +953,10 @@ namespace xmreg {
|
|||
|
||||
mstch::map tx_context = construct_tx_context(tx, with_ring_signatures);
|
||||
|
||||
mstch::map context {{"txs", mstch::array{}}};
|
||||
mstch::map context {
|
||||
{"txs" , mstch::array{}},
|
||||
{"testnet" , this->testnet}
|
||||
};
|
||||
|
||||
boost::get<mstch::array>(context["txs"]).push_back(tx_context);
|
||||
|
||||
|
|
Loading…
Reference in a new issue