Skip to content

Commit df74d2f

Browse files
committed
Revert "fix(vapp): increase storage bits (#149)"
This reverts commit 9a27766.
1 parent b8e7efe commit df74d2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/vapp/src/storage.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ pub type RequestId = [u8; 32];
6868

6969
impl StorageKey for RequestId {
7070
fn index(&self) -> U256 {
71-
U256::from_be_slice(&self[..20])
71+
U256::from_be_slice(&self[..16])
7272
}
7373

7474
fn bits() -> usize {
75-
160
75+
128
7676
}
7777
}
7878

0 commit comments

Comments
 (0)