From 6f9adae98f06347d5b50627e9e2d22e4b6bcd66d Mon Sep 17 00:00:00 2001 From: David Craven Date: Mon, 25 May 2020 20:32:01 +0200 Subject: [PATCH] Fix test. --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index ac40f0b228e..79e43926ce1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -439,6 +439,8 @@ mod tests { let dest = AccountKeyring::Bob.to_account_id().into(); let client = test_client().await; + let nonce = client.account(&AccountKeyring::Alice.to_account_id()).await.unwrap().nonce; + signer.set_nonce(nonce); client .submit( balances::TransferCall {