diff --git a/docker-compose.yml b/docker-compose.yml index 0aedfbc..e1646f0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 @@ -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 @@ -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 @@ -45,4 +45,4 @@ networks: driver: default config: - - subnet: 192.168.20.0/16 \ No newline at end of file + subnet: 192.168.20.0/16 diff --git a/src/call/ledger/impl/View.cpp b/src/call/ledger/impl/View.cpp index 00219bd..edc67d8 100644 --- a/src/call/ledger/impl/View.cpp +++ b/src/call/ledger/impl/View.cpp @@ -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); }