Describe the bug
Arb was found, but when it tried to execute it printed this error.
To Reproduce
Run the program until it finds an arbitrage.
Expected behavior
The arb should execute.
Screenshots
2024/04/12 23:41:56 ***** Minimum profit ratio was met, proceeding to payment! *****
2024/04/12 23:41:56
2024/04/12 23:41:56 Best path was -> USDC -> AQUA -> with return ratio of 1.0002136
2024/04/12 23:41:56
2024/04/12 23:41:56 receiveAmount string set to: 0.6797662
2024/04/12 23:41:56 maxPayAmount string set to: 0.6797662
2024/04/12 23:41:56 reloading sequence number
2024/04/12 23:41:56 submitting tx XDR to network (async)
2024/04/12 23:42:00 orderbook for USDC|GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN vs AQUA|GBNZILSTVQZ4R7IKQDGHYGY2QXL5QOFJYQMXPKWRRM5PAV7Y4M67AQUA updated
2024/04/12 23:42:00 orderbook for yXLM|GARDNV3Q7YGT4AKSDF25LT32YSCCW4EV22Y2TV3I2PU2MMXJTEDL5T55 vs XLM| updated
2024/04/12 23:42:00 orderbook for USDC|GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN vs XLM| updated
2024/04/12 23:42:00 orderbook for AQUA|GBNZILSTVQZ4R7IKQDGHYGY2QXL5QOFJYQMXPKWRRM5PAV7Y4M67AQUA vs XLM| updated
2024/04/12 23:42:02 Return ratio | Cycle amount for path XLM -> USDC -> yXLM -> XLM was 1.0086751 | 0.0046454
2024/04/12 23:42:02 Return ratio | Cycle amount for path XLM -> USDC -> AQUA -> XLM was 1.0001688 | 0.0001016
2024/04/12 23:42:02 Return ratio | Cycle amount for path XLM -> yXLM -> USDC -> XLM was 0.9770759 | 0.0992509
2024/04/12 23:42:02 Return ratio | Cycle amount for path XLM -> yXLM -> AQUA -> XLM was 0.9913101 | 0.0001016
2024/04/12 23:42:02 Return ratio | Cycle amount for path XLM -> AQUA -> USDC -> XLM was 0.9739616 | 25.9999999
2024/04/12 23:42:02 Return ratio | Cycle amount for path XLM -> AQUA -> yXLM -> XLM was 0.8668134 | 50.1523323
2024/04/12 23:42:02 Best path was -> AQUA -> USDC -> with return ratio of 0.9739616
2024/04/12 23:42:02
2024/04/12 23:42:27 (async) error: no result codes from horizon: result_codes not populated
Describe the bug Arb was found, but when it tried to execute it printed this error.
To Reproduce Run the program until it finds an arbitrage.
Expected behavior The arb should execute.
Screenshots
Version