diff --git a/Substrate.NetApi/Model/Types/Account.cs b/Substrate.NetApi/Model/Types/Account.cs index ce542fb..53cb0d6 100644 --- a/Substrate.NetApi/Model/Types/Account.cs +++ b/Substrate.NetApi/Model/Types/Account.cs @@ -140,14 +140,13 @@ public static Account Build(KeyType keyType, byte[] privateKey, byte[] publicKey return account; } - /// /// Asynchronously signs the specified message. /// /// /// /// - public async Task SignRawAsync(byte[] message) + public virtual async Task SignRawAsync(byte[] message) { switch (KeyType) { @@ -168,7 +167,7 @@ public async Task SignRawAsync(byte[] message) /// /// /// - public async Task SignPayloadAsync(Payload payload) + public virtual async Task SignPayloadAsync(Payload payload) { return await SignRawAsync(payload.Encode()); }