mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-19 00:04:25 +01:00
fix rmp_serde to vec named for controller responses
This commit is contained in:
@@ -136,7 +136,7 @@ async fn run_main(
|
||||
topics::CONTROL => {
|
||||
match ctrlr.handle(&msg_bytes) {
|
||||
Ok((_msg, res)) => {
|
||||
let res_data = rmp_serde::to_vec(&res)
|
||||
let res_data = rmp_serde::to_vec_named(&res)
|
||||
.expect("could not build control response");
|
||||
client
|
||||
.publish(
|
||||
@@ -199,7 +199,7 @@ async fn run_test(
|
||||
topics::CONTROL => {
|
||||
match ctrlr.handle(&msg_bytes) {
|
||||
Ok((_msg, res)) => {
|
||||
let res_data = rmp_serde::to_vec(&res)
|
||||
let res_data = rmp_serde::to_vec_named(&res)
|
||||
.expect("could not build control response");
|
||||
client
|
||||
.publish(
|
||||
|
||||
Reference in New Issue
Block a user