Skip to content

Commit

Permalink
Merge pull request #2 from CirclesUBI/update-json-keys
Browse files Browse the repository at this point in the history
update json keys
  • Loading branch information
jaensen authored Feb 22, 2023
2 parents cd00e19 + b120a45 commit 4447618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ fn compute_transfer(
&(jsonrpc_result(
request.id.clone(),
json::object! {
flow: flow.to_decimal(),
maxFlowValue: flow.to_decimal(),
final: max_distance.is_none(),
transfers: transfers.into_iter().map(|e| json::object! {
transferSteps: transfers.into_iter().map(|e| json::object! {
from: e.from.to_checksummed_hex(),
to: e.to.to_checksummed_hex(),
token_owner: e.token.to_checksummed_hex(),
Expand Down

0 comments on commit 4447618

Please sign in to comment.