Refactor recursive function to loop

This should get rid of the ever-growing stack size issue.
This commit is contained in:
Thomas Eizinger 2021-03-26 15:01:17 +11:00
parent fc175a3f53
commit c5827f84ca
No known key found for this signature in database
GPG key ID: 651AC83A6C6C8B96
5 changed files with 80 additions and 137 deletions

View file

@ -127,4 +127,3 @@ jobs:
run: cargo test --package swap --all-features --test ${{ matrix.test_name }} ""
env:
MONERO_ADDITIONAL_SLEEP_PERIOD: 60000
RUST_MIN_STACK: 16777216 # 16 MB. Default is 8MB. This is fine as in tests we start 2 programs: Alice and Bob.