mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-03 17:31:07 +00:00
* into account truncating * more truncating * Update Cargo.lock
This commit is contained in:
1 parent
7158f357bc
commit
2228c57b5c
4 files changed
+294
-359
No files matched your search
@@ -407,7 +407,7 @@ pub mod pallet {
|
||||
impl<T: Config> Pallet<T> {
|
||||
/// Get a unique, inaccessible account id from the `PotId`.
|
||||
pub fn account_id() -> T::AccountId {
|
||||
T::PotId::get().into_account()
|
||||
T::PotId::get().into_account_truncating()
|
||||
}
|
||||
|
||||
/// Removes a candidate if they exist and sends them back their deposit
|
||||
|
||||
Reference in new issue
Block a user