mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
cln-grpc: Map AmountOrAll and AmountOrAny
This commit is contained in:
committed by
Rusty Russell
parent
04e7e285d7
commit
bba68e2136
@@ -75,7 +75,7 @@ impl ClnRpc {
|
||||
// serde_json knows which variant of [`Request`] should be
|
||||
// used.
|
||||
response["method"] = req2["method"].clone();
|
||||
|
||||
log::warn!("XXX {:?}", response);
|
||||
serde_json::from_value(response).context("converting response into enum")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user