mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-23 19:31:00 +08:00
fix: the marf-get command in stacks-inspect is mainly used on MARFs with external blobs, so expect that
This commit is contained in:
@@ -943,7 +943,8 @@ simulating a miner.
|
||||
let itip = StacksBlockHeader::make_index_block_hash(&consensustip, &tip);
|
||||
let key = &argv[5];
|
||||
|
||||
let marf_opts = MARFOpenOpts::default();
|
||||
let mut marf_opts = MARFOpenOpts::default();
|
||||
marf_opts.external_blobs = true;
|
||||
let mut marf = MARF::from_path(path, marf_opts).unwrap();
|
||||
let res = marf.get(&itip, key).expect("MARF error.");
|
||||
match res {
|
||||
|
||||
Reference in New Issue
Block a user