Make unsigned private due to unsafe calling potential

This commit is contained in:
Luke Parker 2023-04-15 16:37:59 -04:00
parent 28b6bc99ac
commit 51bf51ae1e
No known key found for this signature in database

View file

@ -194,7 +194,7 @@ impl Serai {
.map_err(SeraiError::RpcError)
}
pub fn unsigned<P: 'static, C: Encode>(&self, call: &C) -> Result<Encoded, SeraiError> {
fn unsigned<P: 'static, C: Encode>(&self, call: &C) -> Result<Encoded, SeraiError> {
// TODO: Should Serai purge the old transaction code AND set this to 0/1?
const TRANSACTION_VERSION: u8 = 4;