Skip to content

rpc: use null for optional parameters#1559

Open
RuslanProgrammer wants to merge 1 commit into
ElementsProject:masterfrom
RuslanProgrammer:rpc-optional-null-params
Open

rpc: use null for optional parameters#1559
RuslanProgrammer wants to merge 1 commit into
ElementsProject:masterfrom
RuslanProgrammer:rpc-optional-null-params

Conversation

@RuslanProgrammer

Copy link
Copy Markdown
Contributor

Fixes: #1558

@tomt1664

Copy link
Copy Markdown
Member

ACK. Tested locally (CI not running currently on master).

These is no existing functional test covering this. Ideally, a new functional test covering the fixes e.g. issueasset or blindrawtransaction with null positional args should be added.

@delta1 delta1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK b49558b; tested locally

Will only merge this after #1556 in case there are conflicts

@tomt1664

Copy link
Copy Markdown
Member

ACK b49558b

@delta1

delta1 commented Jun 23, 2026

Copy link
Copy Markdown
Member

Sorry @RuslanProgrammer, needs rebase

@RuslanProgrammer RuslanProgrammer force-pushed the rpc-optional-null-params branch from b49558b to 14a52bf Compare June 25, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rpc: optional RPC parameters fail when explicitly passed as null

3 participants