mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-06 11:27:25 +00:00
Remove unused parent_hash in OverlayedChanges::into_storage_changes (#11011)
Ref https://github.com/paritytech/substrate/pull/10922#issuecomment-1064258443 CC @cheme
This commit is contained in:
@@ -660,7 +660,6 @@ where
|
||||
self.overlay
|
||||
.drain_storage_changes(
|
||||
self.backend,
|
||||
Default::default(),
|
||||
self.storage_transaction_cache,
|
||||
Default::default(), // using any state
|
||||
)
|
||||
@@ -680,12 +679,7 @@ where
|
||||
}
|
||||
let changes = self
|
||||
.overlay
|
||||
.drain_storage_changes(
|
||||
self.backend,
|
||||
Default::default(),
|
||||
self.storage_transaction_cache,
|
||||
state_version,
|
||||
)
|
||||
.drain_storage_changes(self.backend, self.storage_transaction_cache, state_version)
|
||||
.expect(EXT_NOT_ALLOWED_TO_FAIL);
|
||||
self.backend
|
||||
.commit(
|
||||
|
||||
Reference in New Issue
Block a user