mirror of
https://github.com/logos-storage/logos-storage-proofs.git
synced 2026-01-08 16:33:08 +00:00
rework funcs
This commit is contained in:
parent
af51366de6
commit
12893faa44
@ -142,6 +142,11 @@ impl StorageProofs {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
rmpv::Value::String(s) => {
|
||||||
|
// directly add a (name,string) arg pair
|
||||||
|
// ie, "path" => "/some/file/path"
|
||||||
|
builder.push_input(name, decode_u256(val)?);
|
||||||
|
}
|
||||||
rmpv::Value::Ext(_, _) => {
|
rmpv::Value::Ext(_, _) => {
|
||||||
// directly add a (name,u256) arg pair
|
// directly add a (name,u256) arg pair
|
||||||
builder.push_input(name, decode_u256(val)?);
|
builder.push_input(name, decode_u256(val)?);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user