Skip to content

fix(bridge): lower account level requirement from level 2 to level > 0#385

Merged
islandbitcoin merged 3 commits into
lnflash:tmp/bridge-rebase-pr-readyfrom
heyolaniran:fix/account-level-0
Jun 4, 2026
Merged

fix(bridge): lower account level requirement from level 2 to level > 0#385
islandbitcoin merged 3 commits into
lnflash:tmp/bridge-rebase-pr-readyfrom
heyolaniran:fix/account-level-0

Conversation

@heyolaniran
Copy link
Copy Markdown
Contributor

Summary

  • Relaxes the bridge account level gate from level < 2 (Pro) to level <= 0 (any non-zero level) across all bridge operations
  • Updates the BridgeAccountLevelError message to reflect the new requirement (Level 1+)

Files changed

  • bridge-add-external-account.ts — mutation level check
  • bridge-create-virtual-account.ts — mutation level check
  • bridge-initiate-kyc.ts — mutation level check
  • bridge-initiate-withdrawal.ts — mutation level check
  • bridge-virtual-account.ts — query level check
  • src/services/bridge/errors.ts — updated error message

Test plan

  • Verify a Level 1 account can now access bridge operations
  • Verify a Level 0 account is still blocked with BridgeAccountLevelError

Bridge operations now allow any non-zero account level instead of requiring Pro (level 2+).
Comment thread src/services/bridge/errors.ts Outdated
@islandbitcoin islandbitcoin merged commit 563153b into lnflash:tmp/bridge-rebase-pr-ready Jun 4, 2026
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.

2 participants