From 12893faa44352bf3a2bb9373f8b0d58bd1d78c57 Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Mon, 11 Dec 2023 13:19:37 -0700 Subject: [PATCH] rework funcs --- src/storage_proofs.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/storage_proofs.rs b/src/storage_proofs.rs index 4a8cce1..db7959c 100644 --- a/src/storage_proofs.rs +++ b/src/storage_proofs.rs @@ -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(_, _) => { // directly add a (name,u256) arg pair builder.push_input(name, decode_u256(val)?);