File tree 2 files changed +3
-2
lines changed
src/plugins/gui/providers 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 17
17
- fixed: Show deprecated stake policies with allocations
18
18
- fixed: No longer show FIO onboarding modal while in Duress Mode.
19
19
- fixed: Prevent pin changes which match duress pin.
20
+ - fixed: Fix regex for Paybis min/max amounts
20
21
21
22
## 4.28.1 (2025-05-28)
22
23
Original file line number Diff line number Diff line change @@ -581,8 +581,8 @@ export const paybisProvider: FiatProviderFactory = {
581
581
let lastError
582
582
for ( const e of pmErrors ) {
583
583
lastError = e
584
- const maxMatch = e . error . message . match ( / ^ A m o u n t m u s t b e l e s s t h a n ( \d + \. \d + ) ( [ A - Z ] + ) / )
585
- const minMatch = e . error . message . match ( / ^ M i n i m u m a m o u n t i s ( \d + \. \d + ) ( [ A - Z ] + ) / )
584
+ const maxMatch = e . error . message . match ( / ^ A m o u n t m u s t b e l e s s t h a n ( \d + (?: \. \d + ) ? ) ( [ A - Z ] + ) / )
585
+ const minMatch = e . error . message . match ( / ^ M i n i m u m a m o u n t i s ( \d + (?: \. \d + ) ? ) ( [ A - Z ] + ) / )
586
586
if ( maxMatch != null ) {
587
587
throw new FiatProviderError ( {
588
588
providerId,
You can’t perform that action at this time.
0 commit comments