mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 13:31:10 +00:00
Fix compilation (#2708)
This commit is contained in:
committed by
André Silva
parent
1df8ac9751
commit
643e309411
@@ -107,7 +107,8 @@ where
|
||||
<<RA as RuntimeAdapter>::Block as BlockT>::Hash: From<primitives::H256>,
|
||||
{
|
||||
if *factory_state.mode() != Mode::MasterToNToM && factory_state.rounds() > RA::Number::one() {
|
||||
return Err("The factory can only be used with rounds set to 1 in this mode.".into());
|
||||
let msg = "The factory can only be used with rounds set to 1 in this mode.".into();
|
||||
return Err(cli::error::Error::Input(msg));
|
||||
}
|
||||
|
||||
let client = new_client::<F>(&config)?;
|
||||
|
||||
Reference in New Issue
Block a user