Merge pull request #2 from CirclesUBI/update-json-keys
update json keys
This commit is contained in:
commit
444761859d
1 changed files with 2 additions and 2 deletions
|
@ -162,9 +162,9 @@ fn compute_transfer(
|
||||||
&(jsonrpc_result(
|
&(jsonrpc_result(
|
||||||
request.id.clone(),
|
request.id.clone(),
|
||||||
json::object! {
|
json::object! {
|
||||||
flow: flow.to_decimal(),
|
maxFlowValue: flow.to_decimal(),
|
||||||
final: max_distance.is_none(),
|
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(),
|
from: e.from.to_checksummed_hex(),
|
||||||
to: e.to.to_checksummed_hex(),
|
to: e.to.to_checksummed_hex(),
|
||||||
token_owner: e.token.to_checksummed_hex(),
|
token_owner: e.token.to_checksummed_hex(),
|
||||||
|
|
Loading…
Reference in a new issue