diff --git a/src/hooks/useBuildPayload/index.tsx b/src/hooks/useBuildPayload/index.tsx index 10a3450604..edf42ad361 100644 --- a/src/hooks/useBuildPayload/index.tsx +++ b/src/hooks/useBuildPayload/index.tsx @@ -94,7 +94,7 @@ export const useBuildPayload = () => { txMetadata = newTxMetadata; } else { // Create the payload raw. - payload = api.registry.createType('ExtrinsicPayload', payload, { + payload = api.registry.createType('ExtrinsicPayload', payloadJson, { version: payloadJson.version, }); txMetadata = null;