Skip to content

Commit

Permalink
fix option_sig_serde (#2699)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeastplume authored Mar 21, 2019
1 parent 6949a0d commit 2e72ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/libtx/secp_ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub mod option_sig_serde {
where
D: Deserializer<'de>,
{
Option::<&str>::deserialize(deserializer).and_then(|res| match res {
Option::<String>::deserialize(deserializer).and_then(|res| match res {
Some(string) => from_hex(string.to_string())
.map_err(|err| Error::custom(err.to_string()))
.and_then(|bytes: Vec<u8>| {
Expand Down

0 comments on commit 2e72ed9

Please sign in to comment.