temp change of tx route
This commit is contained in:
parent
b3cecb8d2a
commit
ca4a06fa2e
2
main.cpp
2
main.cpp
|
@ -130,7 +130,7 @@ int main(int ac, const char* av[]) {
|
||||||
// });
|
// });
|
||||||
|
|
||||||
CROW_ROUTE(app, "/tx/<string>")
|
CROW_ROUTE(app, "/tx/<string>")
|
||||||
([&](const crow::request& req) {
|
([&](const crow::request& req, string tx_hash) {
|
||||||
|
|
||||||
for (const auto& m : req.headers)
|
for (const auto& m : req.headers)
|
||||||
cout << m.first << ": " << m.second << endl;
|
cout << m.first << ": " << m.second << endl;
|
||||||
|
|
Loading…
Reference in New Issue