diff --git a/src/libs/data/signing.js b/src/libs/data/signing.js index 5cf26373..71aec0e3 100644 --- a/src/libs/data/signing.js +++ b/src/libs/data/signing.js @@ -21,7 +21,7 @@ export default class PingWalletClient extends SigningStargateClient { // console.log('registory:', instance.registry, AminoTypes) const { aminoTypes = new AminoTypes({ prefix: options.prefix }) } = options instance.aminoTypes = aminoTypes - console.log('aminoType:', instance.aminoTypes) + // console.log('aminoType:', instance.aminoTypes) return instance } @@ -33,16 +33,16 @@ export default class PingWalletClient extends SigningStargateClient { } const pubkey = proto_signing_1.encodePubkey(amino_1.encodeSecp256k1Pubkey(accountFromSigner.pubkey)) const signMode = signing_1.SignMode.SIGN_MODE_LEGACY_AMINO_JSON - console.log('messages:', messages) + // console.log('messages:', messages) const msgs = messages.map(msg => this.aminoTypes.toAmino(msg)) - console.log('msgs:', msgs) + // console.log('msgs:', msgs) const signDoc = amino_1.makeSignDoc(msgs, fee, chainId, memo, accountNumber, sequence) const { signature, signed } = await this.signer.signAmino(signerAddress, signDoc) const signedTxBody = { messages: signed.msgs.map(msg => this.aminoTypes.fromAmino(msg)), memo: signed.memo, } - console.log(signedTxBody) + // console.log(signedTxBody) const signedTxBodyEncodeObject = { typeUrl: '/cosmos.tx.v1beta1.TxBody', value: signedTxBody,