Skip to content

Commit

Permalink
Merge pull request #18 from CirclesUBI/docker
Browse files Browse the repository at this point in the history
Docker setup
  • Loading branch information
almereyda authored Mar 28, 2023
2 parents ed8ea75 + 53d93a0 commit 5cd676f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Images
name: Container Image

on:
push:
branches:
- dev
- main
- next
- dev

jobs:
call-build-and-push:
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/dev.yml

This file was deleted.

6 changes: 3 additions & 3 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,13 @@ fn compute_transfer(
&(jsonrpc_result(
request.id.clone(),
json::object! {
flow: flow.to_string(),
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(),
value: e.capacity.to_string()
value: e.capacity.to_decimal(),
}).collect::<Vec<_>>(),
},
) + "\r\n"),
Expand Down

0 comments on commit 5cd676f

Please sign in to comment.