Add metadata types to our legacy type registry too

This commit is contained in:
James Wilson
2025-12-03 10:41:16 +00:00
parent 03fd050b3c
commit 0a617eb2a9
5 changed files with 32 additions and 22 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ impl<'atblock, T: Config, C: OfflineClientAtBlockT<T>> Transactions<'atblock, T,
metadata: self.client.metadata(),
};
let tx = match self.default_transaction_version(&metadata)? {
let tx = match self.default_transaction_version()? {
TransactionVersion::V4 => {
PartialTransactionInner::V4(self.create_v4_signed(call, &client_state, params)?)
}