citadel-tech / coinswap

Functioning, minimal-viable binaries and libraries to perform a trustless, p2p Maxwell-Belcher Coinswap Protocol
https://gist.github.com/chris-belcher/9144bd57a91c194e332fb5ca371d0964
Other
73 stars 46 forks source link

Mismatch in `Swapcoin` Retrieval for `Maker` vs. `Taker` in `recover_from_swap` #297

Open KnowWhoami opened 1 week ago

KnowWhoami commented 1 week ago

we have recover_from_swap api each for taker and maker where in case of taker -> outgoings and incomings swapcoins are derived from wallet disk: https://github.com/citadel-tech/coinswap/blob/47fb73d6bc982b16716e7ecfe6b2190dac1f1857/src/taker/api.rs#L1758-L1759

but in maker case -> we have dedicated code for finding these swapcoins , why are we not finding them from wallet disk as done in case of taker ? https://github.com/citadel-tech/coinswap/blob/47fb73d6bc982b16716e7ecfe6b2190dac1f1857/src/maker/api.rs#L424-L479