diff --git a/src/page.h b/src/page.h index f5fe1f4..78ecb38 100644 --- a/src/page.h +++ b/src/page.h @@ -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(context["txs"]).push_back(tx_context);