FIX#323: dont call trim on trim nonstring type value (#326)
This commit is contained in:
parent
e2f4f2de71
commit
a86bcc76cf
@ -125,7 +125,7 @@ function valueToText (type: Param$Types, value: any, swallowError: boolean = tru
|
||||
|
||||
if (type === 'AccountId') {
|
||||
return value && value.length
|
||||
? accountToText(value.trim() as string)
|
||||
? accountToText(value as string)
|
||||
: unknown;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user