Commit 3b34fdf
committed
Merge rust-bitcoin/rust-secp256k1#779: doc: Keypair constructors
aaf5fee92e4200bb42c72cd67dd42b3dde07fb12 fix: Invalid secret key (Christian Lewe)
d1d4ff9f01695526c01198dee643d273f0c32b9d doc: Keypair constructors accept odd keys (Christian Lewe)
Pull request description:
Clarify the conditions when `Keypair` construction fails and correct the error variant that is returned in one of the constructors. Fixes #758
ACKs for top commit:
Kixunil:
ACK aaf5fee92e4200bb42c72cd67dd42b3dde07fb12
apoelstra:
ACK aaf5fee92e4200bb42c72cd67dd42b3dde07fb12; successfully ran local tests
Tree-SHA512: 9b27c4ee1424619f9041183801e7c1214838f0b8d529e9c10a3e1f55264624b6b42b881e369bd9521bfa117d3dd5ce072caed4b8ee51c40e1016fc5be59a28941 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
858 | 858 | | |
859 | 859 | | |
860 | 860 | | |
861 | | - | |
862 | | - | |
| 861 | + | |
| 862 | + | |
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
| |||
883 | 883 | | |
884 | 884 | | |
885 | 885 | | |
886 | | - | |
| 886 | + | |
| 887 | + | |
887 | 888 | | |
888 | 889 | | |
889 | 890 | | |
890 | 891 | | |
891 | 892 | | |
892 | 893 | | |
893 | | - | |
| 894 | + | |
894 | 895 | | |
895 | 896 | | |
896 | 897 | | |
897 | 898 | | |
898 | 899 | | |
899 | 900 | | |
900 | 901 | | |
901 | | - | |
| 902 | + | |
| 903 | + | |
902 | 904 | | |
903 | 905 | | |
904 | 906 | | |
| |||
0 commit comments