Skip to content

Commit

Permalink
fix updateset deps callstate bug
Browse files Browse the repository at this point in the history
  • Loading branch information
landoyjx committed Jul 24, 2020
1 parent 849c734 commit 8e4c4ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- "5020:5020"
volumes:
- ./:/root
command: /bin/bash -c 'cd /root/ && ./build/calld --start --conf ./cfg/testnet/calld.node0.cfg -q'
command: /bin/bash -c 'cd /root/ && ./build/call --start --conf ./cfg/testnet/calld.node0.cfg -q'
networks:
localnet:
ipv4_address: 192.168.20.2
Expand All @@ -21,7 +21,7 @@ services:
- ./:/root
depends_on:
- node0
command: /bin/bash -c 'cd /root/ && ./build/calld --net --conf ./cfg/testnet/calld.node1.cfg -q'
command: /bin/bash -c 'cd /root/ && ./build/call --net --conf ./cfg/testnet/calld.node1.cfg -q'
networks:
localnet:
ipv4_address: 192.168.20.3
Expand All @@ -33,7 +33,7 @@ services:
- ./:/root
depends_on:
- node0
command: /bin/bash -c 'cd /root/ && ./build/calld --net --conf ./cfg/testnet/calld.node2.cfg -q'
command: /bin/bash -c 'cd /root/ && ./build/call --net --conf ./cfg/testnet/calld.node2.cfg -q'
networks:
localnet:
ipv4_address: 192.168.20.4
Expand All @@ -45,4 +45,4 @@ networks:
driver: default
config:
-
subnet: 192.168.20.0/16
subnet: 192.168.20.0/16
3 changes: 3 additions & 0 deletions src/call/ledger/impl/View.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1891,6 +1891,9 @@ TER issueIOU(ApplyView &view,
}

if (terResult == tesSUCCESS) {
// peek again
if (!state) state = view.peek(keylet::line(index));

terResult = updateIssueSet(view, state, bSenderHigh ? account : issue.account,
bSenderHigh ? issue.account : account, amount, 0, j);
}
Expand Down

0 comments on commit 8e4c4ae

Please sign in to comment.