mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
Update to set mortal_period in client
This commit is contained in:
@@ -27,8 +27,6 @@ use substrate_subxt::{
|
||||
EventSubscription,
|
||||
EventsDecoder,
|
||||
PairSigner,
|
||||
SignedOptions,
|
||||
DEFAULT_ERA_PERIOD,
|
||||
};
|
||||
|
||||
#[async_std::main]
|
||||
@@ -46,7 +44,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
sub.filter_event::<TransferEvent<_>>();
|
||||
client.transfer(
|
||||
&signer,
|
||||
SignedOptions { era_period: Some(DEFAULT_ERA_PERIOD) },
|
||||
&dest,
|
||||
10_000
|
||||
).await?;
|
||||
|
||||
Reference in New Issue
Block a user