Skip to content

Add wire amount validation #4271

Manish requested to merge fix/wire-error-4271 into release/4.25.0

Summary of Changes

Adds an error field to the amount input if the amount was invalid. Previously it used to go back if the amount was 0 and did nothing if the amount was invalid.

Testing Considerations

try to wire a channel an invalid amount, or leave the amount unchanged (0) on Android (iOS doesn't support wires) and you should see an error saying "Invalid amount"

Regression Scope

none

Platform Affected (web, mobile, etc)

both

Developer Testing Completed

yes

Screenshots

Screen_Shot_2022-05-18_at_12.01.21

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode
Edited by Manish

Merge request reports