mirror of
https://github.com/status-im/react-native-status-keycard.git
synced 2025-02-28 12:00:36 +00:00
Update SmartCard.swift
fixed PUK generation
This commit is contained in:
parent
44b75fddd2
commit
805aaf956c
@ -265,7 +265,7 @@ class SmartCard {
|
||||
}
|
||||
|
||||
func randomPUK() -> String {
|
||||
return String(format: "%012d", Int.random(in: 0..<999999999999))
|
||||
return String(format: "%012ld", Int64.random(in: 0..<999999999999))
|
||||
}
|
||||
|
||||
func randomPairingPassword() -> String {
|
||||
|
Loading…
x
Reference in New Issue
Block a user