Skip to content

Commit ccd7ae6

Browse files
committed
fix: simplify match and fix typo in toml
Signed-off-by: William Hankins <[email protected]>
1 parent 0272dd5 commit ccd7ae6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/assets_state/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Acropolis reward state module
1+
# Acropolis assets state module
22

33
[package]
44
name = "acropolis_module_assets_state"

modules/assets_state/src/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ impl State {
102102
},
103103
transactions: match store_transactions {
104104
StoreTransactions::None => None,
105-
StoreTransactions::All | StoreTransactions::Last(_) => Some(HashMap::new()),
105+
_ => Some(HashMap::new()),
106106
},
107107
policy_index: if index_by_policy {
108108
Some(HashMap::new())

0 commit comments

Comments
 (0)