dtr-org / unit-e

A digital currency for a new era of decentralized trust
https://unit-e.io
MIT License
45 stars 15 forks source link

Add check for rpc deposit with unknown address #994

Closed Gnappuraz closed 5 years ago

Gnappuraz commented 5 years ago

At the moment the deposit fails because the script cannot be signed with the address passed (uknown privkey), I nonetheless think that it makes sense to have a test for the scenario and also check it preemptively in the rpc since it can be quite a easy mistake to make.