mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 05:11:09 +00:00
ci: bump ci image to rust 1.73.0 (#1830)
Co-authored-by: command-bot <>
This commit is contained in:
@@ -85,7 +85,7 @@ mod tests {
|
||||
fn inspect_node_key() {
|
||||
let path = tempfile::tempdir().unwrap().into_path().join("node-id").into_os_string();
|
||||
let path = path.to_str().unwrap();
|
||||
let cmd = GenerateNodeKeyCmd::parse_from(&["generate-node-key", "--file", path.clone()]);
|
||||
let cmd = GenerateNodeKeyCmd::parse_from(&["generate-node-key", "--file", path]);
|
||||
|
||||
assert!(cmd.run().is_ok());
|
||||
|
||||
|
||||
@@ -16,6 +16,10 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
// file-level lint whitelist to avoid problem with bitflags macro below
|
||||
// TODO: can be dropped after an update to bitflags 2.4
|
||||
#![allow(clippy::bad_bit_mask)]
|
||||
|
||||
use codec::{self, Encode, EncodeLike, Input, Output};
|
||||
|
||||
/// Role that the peer sent to us during the handshake, with the addition of what our local node
|
||||
|
||||
@@ -1423,7 +1423,6 @@ impl NetworkBehaviour for Notifications {
|
||||
let delay_id = self.next_delay_id;
|
||||
self.next_delay_id.0 += 1;
|
||||
let delay = futures_timer::Delay::new(ban_duration);
|
||||
let peer_id = peer_id;
|
||||
self.delays.push(
|
||||
async move {
|
||||
delay.await;
|
||||
|
||||
Reference in New Issue
Block a user