Skip to content

fix: wire -assetindex arg to fAssetIndex global#233

Merged
cdonnachie merged 1 commit into5.xfrom
fix/assetindex-wiring
Apr 5, 2026
Merged

fix: wire -assetindex arg to fAssetIndex global#233
cdonnachie merged 1 commit into5.xfrom
fix/assetindex-wiring

Conversation

@cdonnachie
Copy link
Copy Markdown
Member

The -assetindex option was never registered with argsman.AddArg(), causing it to be silently ignored when set in avian.conf. Additionally, fAssetIndex was never assigned from the parsed args, so it remained false regardless of configuration.

Fixes listassetbalancesbyaddress and related RPCs always returning 'This rpc call is not functional unless -assetindex is enabled.'

The -assetindex option was never registered with argsman.AddArg(),
causing it to be silently ignored when set in avian.conf.
Additionally, fAssetIndex was never assigned from the parsed args,
so it remained false regardless of configuration.

Fixes listassetbalancesbyaddress and related RPCs always returning
'This rpc call is not functional unless -assetindex is enabled.'
@cdonnachie cdonnachie merged commit 962bda7 into 5.x Apr 5, 2026
6 checks passed
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.

1 participant