Closed quietnan closed 6 years ago
This means that there are currently two different conventions for message signing out there. The one from electrum-ftc and the one from feathercoind. Changing this in electrum-ftc will introduce a inconsistency between versions prior and after this change, but yields the bigger chance of converging to one convention only eventually, which I would argue is preferable.
Expected Behavior
When signing a message with feathercoind, e.g.
then that message should be verifiable with electrum-ftc.
Current Behavior
It says 'Wrong signature'
Possible Solution
The problem is a mismatch of the magic message in https://github.com/Feathercoin-Foundation/electrum-ftc/blob/3.2.X/electrum/ecc.py#L303 . Should be
\x1c
instead of\x19
, as this is the length of the prefix 'Feathercoin Signed Message:\n'. Apparently this was copied from Litecoin, where\x19
is correct.Steps to Reproduce