Open DrorTsky opened 3 years ago
Thanks for raising the issue! Though I see that destinationName is one of ExchangeDetails attributes: https://github.com/omersch381/Money-Transaction-Tracker/blob/DebtRotation/src/solidity/contracts/ProfileContract.sol#L19
And it is supposed to be added for each relevant request: https://github.com/omersch381/Money-Transaction-Tracker/blob/DebtRotation/src/solidity/contracts/ProfileContract.sol#L146
But maybe I missed a use case. Can you please elaborate how did you get this bug so I could reproduce it?
I took the exchanges I got from the getAllExchangesByIndex function and displayed them.
I could reproduce the bug with debt request and debt rotation request.
As the current solc version we use (0.4.17) doesn't allow more parameters to be sent to the addExchangeNotRestricted function because it claims that the Solidity stack is too deep, we can add a future patch that would patch the names of the exchanges participants (as the addresses are correct).