Skip to content

Commit 26d5a33

Browse files
committed
chore: update storage constant name
1 parent 7cebb92 commit 26d5a33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deps/src/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ pub mod storage_cost {
3333
(bytes as Balance) * YOCTO_PER_BYTE
3434
}
3535

36-
pub const STORE: Balance = bytes_to_cost(super::storage_bytes::SOULBOUND);
36+
pub const SOULBOUND: Balance = bytes_to_cost(super::storage_bytes::SOULBOUND);
3737
}

hub/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl Hub {
7979
admin_public_key: env::signer_account_pk(),
8080
hub_fee: 0,
8181
storage_price_per_byte: YOCTO_PER_BYTE,
82-
soulbound_cost: storage_cost::STORE,
82+
soulbound_cost: storage_cost::SOULBOUND,
8383
soulbounds: LookupMap::new(b"r".to_vec()),
8484
}
8585
}

0 commit comments

Comments
 (0)