mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-22 02:34:55 +00:00
Corrections from renaming Index to Nonce
This commit is contained in:
parent
b1dbe1f50d
commit
d5cfb3fb25
1 changed files with 2 additions and 2 deletions
|
@ -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>,
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue