Refactor RPC methods to use HexData
and an error constructor
#5548
Labels
A-rpc
Area: Remote Procedure Call interfaces
A-rust
Area: Updates to Rust code
C-enhancement
Category: This is an improvement
Motivation
Multiple RPC methods are currently accepting hex-encoded data and similarly constructing
ServerErrors
.Using the
HexData
type and a server error constructor will reduce repetition and improve maintainability.Potentially something like:
Originally posted by Teor
The text was updated successfully, but these errors were encountered: