Skip to content

Commit f6d4ef2

Browse files
committed
f Account for renamed namespaces
1 parent 8493258 commit f6d4ef2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/payment_store.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ mod tests {
235235
let store_key = hex_utils::to_string(&hash.0);
236236
assert!(store
237237
.read(
238-
PAYMENT_INFO_PERSISTENCE_NAMESPACE,
239-
PAYMENT_INFO_PERSISTENCE_SUB_NAMESPACE,
238+
PAYMENT_INFO_PERSISTENCE_PRIMARY_NAMESPACE,
239+
PAYMENT_INFO_PERSISTENCE_SECONDARY_NAMESPACE,
240240
&store_key
241241
)
242242
.is_err());
@@ -254,8 +254,8 @@ mod tests {
254254
assert!(payment_store.get(&hash).is_some());
255255
assert!(store
256256
.read(
257-
PAYMENT_INFO_PERSISTENCE_NAMESPACE,
258-
PAYMENT_INFO_PERSISTENCE_SUB_NAMESPACE,
257+
PAYMENT_INFO_PERSISTENCE_PRIMARY_NAMESPACE,
258+
PAYMENT_INFO_PERSISTENCE_SECONDARY_NAMESPACE,
259259
&store_key
260260
)
261261
.is_ok());

src/peer_store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ mod tests {
164164
let expected_peer_info = PeerInfo { node_id, address };
165165
assert!(store
166166
.read(
167-
PEER_INFO_PERSISTENCE_NAMESPACE,
168-
PEER_INFO_PERSISTENCE_SUB_NAMESPACE,
167+
PEER_INFO_PERSISTENCE_PRIMARY_NAMESPACE,
168+
PEER_INFO_PERSISTENCE_SECONDARY_NAMESPACE,
169169
PEER_INFO_PERSISTENCE_KEY,
170170
)
171171
.is_err());

0 commit comments

Comments
 (0)