Corrections from renaming Index to Nonce

This commit is contained in:
Luke Parker 2023-07-18 23:52:37 -04:00
parent b1dbe1f50d
commit d5cfb3fb25
No known key found for this signature in database

View file

@ -9,7 +9,7 @@ use sp_api::ProvideRuntimeApi;
use serai_runtime::{
primitives::{SubstrateAmount, PublicKey},
opaque::Block,
Index,
Nonce,
};
pub use sc_rpc_api::DenyUnsafe;
@ -33,7 +33,7 @@ pub fn create_full<
deps: FullDeps<C, P>,
) -> Result<RpcModule<()>, Box<dyn std::error::Error + Send + Sync>>
where
C::Api: substrate_frame_rpc_system::AccountNonceApi<Block, PublicKey, Index>
C::Api: substrate_frame_rpc_system::AccountNonceApi<Block, PublicKey, Nonce>
+ pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, SubstrateAmount>
+ BlockBuilder<Block>,
{