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

Commit 0a6d566

Browse files
Update to bee-message 0.1.5
1 parent c4a4b8e commit 0a6d566

File tree

5 files changed

+31
-38
lines changed

5 files changed

+31
-38
lines changed

Cargo.lock

Lines changed: 30 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bee-ledger/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ homepage = "https://www.iota.org"
1212

1313
[dependencies]
1414
bee-common = { version = "0.4.1", path = "../bee-common/bee-common" }
15-
bee-message = { version = "0.1.3", path = "../bee-message" }
15+
bee-message = { version = "0.1.5", path = "../bee-message" }
1616
bee-runtime = { version = "0.1.1-alpha", path = "../bee-runtime", optional = true }
1717
bee-storage = { version = "0.3.0", path = "../bee-storage/bee-storage", optional = true }
1818
bee-tangle = { version = "0.1.1", path = "../bee-tangle", optional = true }

bee-ledger/src/workers/consensus/white_flag.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ async fn apply_transaction<B: StorageBackend>(
185185
)
186186
.await
187187
}
188-
essence => Err(Error::UnsupportedTransactionEssenceKind(essence.kind())),
189188
}
190189
}
191190

bee-ledger/src/workers/error.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ pub enum Error {
2929
/// Unsupported output kind.
3030
#[error("Unsupported output kind: {0}")]
3131
UnsupportedOutputKind(u8),
32-
/// Unsupported address kind.
33-
#[error("Unsupported address kind: {0}")]
34-
UnsupportedAddressKind(u8),
35-
/// Unsupported transaction essence kind.
36-
#[error("Unsupported transaction essence kind: {0}")]
37-
UnsupportedTransactionEssenceKind(u8),
3832
/// Unsupported payload kind.
3933
#[error("Unsupported payload kind: {0}")]
4034
UnsupportedPayloadKind(u32),

bee-ledger/src/workers/storage.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ pub(crate) fn insert_output_id_for_address_batch<B: StorageBackend>(
9494
Batch::<(Ed25519Address, OutputId), ()>::batch_insert(storage, batch, &(*address, *output_id), &())
9595
.map_err(|e| Error::Storage(Box::new(e)))
9696
}
97-
address => Err(Error::UnsupportedAddressKind(address.kind())),
9897
}
9998
}
10099

@@ -109,7 +108,6 @@ pub(crate) fn delete_output_id_for_address_batch<B: StorageBackend>(
109108
Batch::<(Ed25519Address, OutputId), ()>::batch_delete(storage, batch, &(*address, *output_id))
110109
.map_err(|e| Error::Storage(Box::new(e)))
111110
}
112-
address => Err(Error::UnsupportedAddressKind(address.kind())),
113111
}
114112
}
115113

0 commit comments

Comments
 (0)