Page MenuHomePhabricator

[avalanche] Make sure the master key matches the proof master
ClosedPublic

Authored by Fabien on Jun 11 2021, 13:34.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC2eaa95beb12c: [avalanche] Make sure the master key matches the proof master
Summary

As per title. This would cause the addLevel() to fail but only if the
session key mismatch the proof master. Adding an explicit test for this
case will always catch the issue. This will be a better solution than
D9668 when we will start to supply delegations as well.

Ref T1635.

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

Diff Detail

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