mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 01:11:10 +00:00
Handle local storage race conditions better (#3177)
* Make local_storage_compare_and_set take Option for old_value * Adapt srml/im-online to API changes * Bump version * Bump version again * Replace match
This commit is contained in:
committed by
Gavin Wood
parent
af914e9f40
commit
23fba990ba
@@ -313,7 +313,7 @@ impl offchain::Externalities for NeverOffchainExt {
|
||||
&mut self,
|
||||
_kind: offchain::StorageKind,
|
||||
_key: &[u8],
|
||||
_old_value: &[u8],
|
||||
_old_value: Option<&[u8]>,
|
||||
_new_value: &[u8],
|
||||
) -> bool {
|
||||
unreachable!()
|
||||
|
||||
Reference in New Issue
Block a user