Page MenuHomePhabricator

Improve signmessages functional test
ClosedPublic

Authored by Fabien on Jun 25 2019, 10:25.

Details

Summary
This patch improves branch coverage of the test, making sure a
message can not be verified with the wrong address or signature.

Backport of core PR11241
https://github.com/bitcoin/bitcoin/pull/11241/files

Test Plan
./test/functional/test_runner.py rpc_signmessage

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

test/functional/rpc_signmessage.py
21 ↗(On Diff #9643)

Note to reviewers: the signature differs due to the algorithm specific nonce data (algo16 parameter).

This revision is now accepted and ready to land.Jun 25 2019, 15:43