Skip to content

Commit e5699a3

Browse files
committed
Fix lints
1 parent ad10218 commit e5699a3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

packages/chain-helpers/src/blockchain/Blockchain.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,14 @@ export async function signTx(
220220
): Promise<SubmittableExtrinsic> {
221221
const signOptions: Partial<SignerOptions> = checkMetadata
222222
? {
223-
tip,
224-
// Required as described in https://github.com/polkadot-js/api/blob/109d3b2201ea51f27180e34dfd883ec71d402f6b/packages/api-base/src/types/submittable.ts#L79.
225-
metadataHash: await getMetadataHash(ConfigService.get('api')),
226-
// Used by external signers to to know there's additional data to be included in the payload (see link above).
227-
withSignedTransaction: true,
228-
// Forces the tx to fail if the metadata does not match (added for backward compatibility). See https://paritytech.github.io/polkadot-sdk/master/frame_metadata_hash_extension/struct.CheckMetadataHash.html.
229-
mode: 1,
230-
}
223+
tip,
224+
// Required as described in https://github.com/polkadot-js/api/blob/109d3b2201ea51f27180e34dfd883ec71d402f6b/packages/api-base/src/types/submittable.ts#L79.
225+
metadataHash: await getMetadataHash(ConfigService.get('api')),
226+
// Used by external signers to to know there's additional data to be included in the payload (see link above).
227+
withSignedTransaction: true,
228+
// Forces the tx to fail if the metadata does not match (added for backward compatibility). See https://paritytech.github.io/polkadot-sdk/master/frame_metadata_hash_extension/struct.CheckMetadataHash.html.
229+
mode: 1,
230+
}
231231
: { tip }
232232

233233
if ('address' in signer) {

0 commit comments

Comments
 (0)