diff options
author | bryan newbold <bnewbold@robocracy.org> | 2023-02-15 19:31:41 -0800 |
---|---|---|
committer | bryan newbold <bnewbold@robocracy.org> | 2023-02-15 19:31:43 -0800 |
commit | 1b2779ff09d0c2407d7ae0c62401d759231ea361 (patch) | |
tree | 6dbf3f44e48c8ef2b6fae6d600c9b75259dc3742 /adenosine-pds/src/vendored/iroh_car/lib.rs | |
parent | 2eb5257a2f17a4581a842b1de2863e91e16aadf4 (diff) | |
download | adenosine-1b2779ff09d0c2407d7ae0c62401d759231ea361.tar.gz adenosine-1b2779ff09d0c2407d7ae0c62401d759231ea361.zip |
pds: mst: add empty layer nodes as needed
This is to match behavior of the upstream Javascript implementation.
Basically, if there is a "layer=2" node and a "layer=0" node, and no
other nodes, there should be a "layer=1" node in between with just the
'left' reference populated.
Diffstat (limited to 'adenosine-pds/src/vendored/iroh_car/lib.rs')
0 files changed, 0 insertions, 0 deletions