mirror of
https://github.com/mikedilger/chorus.git
synced 2026-08-01 07:21:39 +00:00
Update pocket-db/pocket-types
This commit is contained in:
parent
8ab043698f
commit
99124ba134
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -1281,7 +1281,7 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
||||
[[package]]
|
||||
name = "pocket-db"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/mikedilger/pocket?branch=master#16a27ec6d8b4b294bae943a57fc525389e446489"
|
||||
source = "git+https://github.com/mikedilger/pocket?branch=master#e6d55e205cc140cc04728960c2ca4e6e906808ef"
|
||||
dependencies = [
|
||||
"heed",
|
||||
"libc",
|
||||
@ -1292,7 +1292,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "pocket-types"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/mikedilger/pocket?branch=master#16a27ec6d8b4b294bae943a57fc525389e446489"
|
||||
source = "git+https://github.com/mikedilger/pocket?branch=master#e6d55e205cc140cc04728960c2ca4e6e906808ef"
|
||||
dependencies = [
|
||||
"derive_more",
|
||||
"secp256k1 0.28.2",
|
||||
|
||||
@ -130,7 +130,7 @@ pub fn handle_inner(command: Value) -> Result<Option<Value>, Error> {
|
||||
if *appr {
|
||||
None
|
||||
} else {
|
||||
Some(pk.as_hex_string().unwrap())
|
||||
Some(pk.as_hex_string())
|
||||
}
|
||||
})
|
||||
.collect();
|
||||
@ -144,7 +144,7 @@ pub fn handle_inner(command: Value) -> Result<Option<Value>, Error> {
|
||||
.iter()
|
||||
.filter_map(|(pk, appr)| {
|
||||
if *appr {
|
||||
Some(pk.as_hex_string().unwrap())
|
||||
Some(pk.as_hex_string())
|
||||
} else {
|
||||
None
|
||||
}
|
||||
@ -173,7 +173,7 @@ pub fn handle_inner(command: Value) -> Result<Option<Value>, Error> {
|
||||
if *appr {
|
||||
None
|
||||
} else {
|
||||
Some(id.as_hex_string().unwrap())
|
||||
Some(id.as_hex_string())
|
||||
}
|
||||
})
|
||||
.collect();
|
||||
@ -187,7 +187,7 @@ pub fn handle_inner(command: Value) -> Result<Option<Value>, Error> {
|
||||
.iter()
|
||||
.filter_map(|(id, appr)| {
|
||||
if *appr {
|
||||
Some(id.as_hex_string().unwrap())
|
||||
Some(id.as_hex_string())
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user