decred / atomicswap

On-chain atomic swaps for Decred and other cryptocurrencies.
https://blog.decred.org/2017/09/20/On-Chain-Atomic-Swaps/
ISC License
507 stars 232 forks source link

[cmd][xzcatomicswap] Change dumprivkey RPC sequence for Zcoin #107

Closed devwarrior-cool closed 5 years ago

devwarrior-cool commented 5 years ago

Zcoin added a one-time authorization key returned in error string from a first call to dumpprivkey. Along with a warning. The key is used in 1 (one) subsequent call to the same RPC function. The idea is that inexperienced people are warned if scammers propose they use `dumpprivkey'.

devwarrior-cool commented 5 years ago

This replaces https://github.com/decred/atomicswap/pull/102 which I will close.

devwarrior-cool commented 5 years ago

If this is acceptable now please merge