mirror of
https://github.com/serai-dex/serai.git
synced 2025-02-02 03:06:31 +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::{
|
use serai_runtime::{
|
||||||
primitives::{SubstrateAmount, PublicKey},
|
primitives::{SubstrateAmount, PublicKey},
|
||||||
opaque::Block,
|
opaque::Block,
|
||||||
Index,
|
Nonce,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub use sc_rpc_api::DenyUnsafe;
|
pub use sc_rpc_api::DenyUnsafe;
|
||||||
|
@ -33,7 +33,7 @@ pub fn create_full<
|
||||||
deps: FullDeps<C, P>,
|
deps: FullDeps<C, P>,
|
||||||
) -> Result<RpcModule<()>, Box<dyn std::error::Error + Send + Sync>>
|
) -> Result<RpcModule<()>, Box<dyn std::error::Error + Send + Sync>>
|
||||||
where
|
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>
|
+ pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, SubstrateAmount>
|
||||||
+ BlockBuilder<Block>,
|
+ BlockBuilder<Block>,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue