Remove accidental extra indentation
This commit is contained in:
parent
c749e86971
commit
5c02a843fe
|
@ -409,7 +409,6 @@ func toHex*(sig: SkRecoverableSignature): string =
|
||||||
proc random*(T: type SkKeyPair, rng: Rng): SkResult[T] =
|
proc random*(T: type SkKeyPair, rng: Rng): SkResult[T] =
|
||||||
## Generates new random key pair.
|
## Generates new random key pair.
|
||||||
let seckey = ? SkSecretKey.random(rng)
|
let seckey = ? SkSecretKey.random(rng)
|
||||||
|
|
||||||
ok(T(
|
ok(T(
|
||||||
seckey: seckey,
|
seckey: seckey,
|
||||||
pubkey: seckey.toPublicKey()
|
pubkey: seckey.toPublicKey()
|
||||||
|
@ -418,7 +417,6 @@ proc random*(T: type SkKeyPair, rng: Rng): SkResult[T] =
|
||||||
proc random*(T: type SkKeyPair, rng: FoolproofRng): T =
|
proc random*(T: type SkKeyPair, rng: FoolproofRng): T =
|
||||||
## Generates new random key pair.
|
## Generates new random key pair.
|
||||||
let seckey = SkSecretKey.random(rng)
|
let seckey = SkSecretKey.random(rng)
|
||||||
|
|
||||||
T(
|
T(
|
||||||
seckey: seckey,
|
seckey: seckey,
|
||||||
pubkey: seckey.toPublicKey()
|
pubkey: seckey.toPublicKey()
|
||||||
|
|
Loading…
Reference in New Issue