5afe / safe-core-sdk-demo

Account Abstraction with Safe{Core} SDK
https://safe-account-abstraction-demo.netlify.app/
GNU General Public License v3.0
35 stars 24 forks source link

feat: Safe Selector #37

Closed einaralex closed 9 months ago

einaralex commented 9 months ago

I found a bug when having multiple safes to pick from; the Monerium flow would redirect back, causing the safeSdk to initialize with another address then the Monerium flow was initiated with, causing it to stop on moneriumPack.open(...).

Solved by adding the selected Safe to localStorage, to be picked up when redirected back.

I included the changes from #35