Skip to content

Commit

Permalink
Merge pull request #481 from radixdlt/bugfix/non-fungible-id-resim-di…
Browse files Browse the repository at this point in the history
…splay

Fixed the display of NonFungibleIds in resim
  • Loading branch information
0xOmarA authored Sep 2, 2022
2 parents 07ef300 + 9674499 commit 9d7ae1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simulator/src/ledger/dumper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ fn dump_resources<T: ReadableSubstateStore, O: std::io::Write>(
.map(|s| s.into())
.unwrap();
if let Some(non_fungible) = non_fungible.0 {
let id = ScryptoValue::from_slice(&id.to_vec()).unwrap();
let id = ScryptoValue::from_typed(id);
let immutable_data =
ScryptoValue::from_slice(&non_fungible.immutable_data()).unwrap();
let mutable_data =
Expand Down

0 comments on commit 9d7ae1d

Please sign in to comment.