HomePhabricator

[avalanche] Make the error code consistent in addavalanchenode

Description

[avalanche] Make the error code consistent in addavalanchenode

Summary:
Deserialization errors should return a deserialization error.

Depends on D9786.

Ref T1635.

Test Plan:

./test/functional/test_runner.py abc_rpc_addavalanchenode

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1635

Differential Revision: https://reviews.bitcoinabc.org/D9787

Details

Provenance
FabienAuthored on Jul 15 2021, 08:41
FabienPushed on Jul 15 2021, 10:06
Reviewer
Restricted Project
Differential Revision
D9787: [avalanche] Make the error code consistent in addavalanchenode
Parents
rABC7da33a46ccb0: [avalanche] Improve coverage for the addavalanchenode RPC
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task