Skip to content

fix utxos update error

Hung Sam requested to merge fix-utxos-always-changed into master

Currently, every time sendlotus retrieves utxos from api server, it is always different from the existing utxos stored in localstorage. This is caused by removing support for slp from original codebase. In emulating the returned hydratedUtxos (to avoid hitting the api server), we inadvertently modified the original utxos. This can be fixed by deep cloning the original utxos, and then emulating the hydatedUtxos by modifying the cloned-utxos

Merge request reports

Loading