Remove accidental extra indentation

This commit is contained in:
Gruruya 2023-04-03 23:52:03 -04:00
parent c749e86971
commit 5c02a843fe
1 changed files with 0 additions and 2 deletions

View File

@ -409,7 +409,6 @@ func toHex*(sig: SkRecoverableSignature): string =
proc random*(T: type SkKeyPair, rng: Rng): SkResult[T] =
## Generates new random key pair.
let seckey = ? SkSecretKey.random(rng)
ok(T(
seckey: seckey,
pubkey: seckey.toPublicKey()
@ -418,7 +417,6 @@ proc random*(T: type SkKeyPair, rng: Rng): SkResult[T] =
proc random*(T: type SkKeyPair, rng: FoolproofRng): T =
## Generates new random key pair.
let seckey = SkSecretKey.random(rng)
T(
seckey: seckey,
pubkey: seckey.toPublicKey()