From 51bf51ae1e3edb7ac8239042e866a3c83e3e2314 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sat, 15 Apr 2023 16:37:59 -0400 Subject: [PATCH] Make unsigned private due to unsafe calling potential --- substrate/client/src/serai/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/client/src/serai/mod.rs b/substrate/client/src/serai/mod.rs index c6d508ea..baeff7cc 100644 --- a/substrate/client/src/serai/mod.rs +++ b/substrate/client/src/serai/mod.rs @@ -194,7 +194,7 @@ impl Serai { .map_err(SeraiError::RpcError) } - pub fn unsigned(&self, call: &C) -> Result { + fn unsigned(&self, call: &C) -> Result { // TODO: Should Serai purge the old transaction code AND set this to 0/1? const TRANSACTION_VERSION: u8 = 4;