Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit d307ed3

Browse files
authored
Fix TryFrom<&NftOutputDto> for NftOutput (#1259)
1 parent b43234a commit d307ed3

File tree

1 file changed

+3
-0
lines changed
  • bee-api/bee-rest-api/src/types

1 file changed

+3
-0
lines changed

bee-api/bee-rest-api/src/types/dtos.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,6 +1659,9 @@ impl TryFrom<&NftOutputDto> for NftOutput {
16591659
for b in &value.unlock_conditions {
16601660
builder = builder.add_unlock_condition(b.try_into()?);
16611661
}
1662+
for b in &value.feature_blocks {
1663+
builder = builder.add_feature_block(b.try_into()?);
1664+
}
16621665
for b in &value.immutable_feature_blocks {
16631666
builder = builder.add_immutable_feature_block(b.try_into()?);
16641667
}

0 commit comments

Comments
 (0)