citadel-tech / coinswap

Functioning, minimal-viable binaries and libraries to perform a trustless, p2p Maxwell-Belcher Coinswap Protocol

Home Page:https://gist.github.com/chris-belcher/9144bd57a91c194e332fb5ca371d0964

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove izip

rajarshimaitra opened this issue · comments

commented

izip is a dependency used to zip iterators, and the same is possible with the std iter::zip functionality with the expense of a bit of pattern complexity. But worth enough to remove the dependency.

Use the pattern here to replace all other izip invocations.
https://github.com/utxo-teleport/teleport-transactions/blob/4c5d4c41cb34b41dce79d9c55373aad4c3a80766/src/taker_protocol.rs#L643-L663