Skip to content

Commit dbf09c9

Browse files
authored
Merge pull request #95 from opentensor/fix/roman/remove-privatekey-from-keypair
Remove `Keypair.private_key`
2 parents a7b3a33 + 01d2461 commit dbf09c9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/python_bindings.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -345,13 +345,6 @@ impl PyKeypair {
345345
fn mnemonic(&self) -> Option<String> {
346346
self.inner.mnemonic()
347347
}
348-
349-
#[getter]
350-
fn private_key(&self) -> PyResult<Option<Vec<u8>>> {
351-
self.inner
352-
.private_key()
353-
.map_err(|e| PyErr::new::<PyValueError, _>(e))
354-
}
355348
}
356349

357350
// Error type bindings

0 commit comments

Comments
 (0)