impersonator-eth / impersonator-extension

Browser extension that enables you to Log-in as ANY address on ALL dapps
54 stars 6 forks source link

Improvement: Trim whitespaces while adding RPCs #5

Closed 0xchetan closed 6 months ago

0xchetan commented 6 months ago

When copy-pasting the RPC (on adding the network), the extension includes whitespaces in the calls to the RPC (if pasted with whitespaces), causing the requests to fail. The RPC URL should be trimmed to remove any whitespaces.