Skip to content

signrawtransactionwithkey has no type or model with the same name #357

@jamillambert

Description

@jamillambert

The RPC signrawtransactionwithkey replaced signrawtransaction in v18 and above. It still uses the same Type name of SignRawTransaction which causes an issue with verify and when manually searching the code for the type or model.

I would suggest renaming it everwhere to SignRawTransactionWithKey, similarly with the test and macro name. And keeping a duplicate of the v17 ones with the current name, it's the only version that has both RPCs

EDIT: I fixed verify and there is no issue with this RPC since it only checks the line in verify vs the types table, but I still prefer the solution above to how it is now.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions