Trying to broadcast a transaction (signed with sig), but getting an error: unauthorized: signature verification failed; verify correct account sequence and chain-id. The same transaction signed in CLI is successfully broadcasted. My chain based on cosmos-sdk 0.38.2
unsignedTx:
{ type: 'cosmos-sdk/StdTx', value: { msg: [ { type: 'profile/SetPublic', value: { owner: 'decentr1slcjjtpc5q58k0wa3k50kq643xy64p6jj9gavl', public: { gender: 'female', birthday: '2001-02-01' } } } ], fee: { amount: [], gas: '200000' }, signatures: null, memo: '' } };
Meta:
{ account_number: '3', chain_id: 'testnet', sequence: '1', };
Mnemonic:
clip stereo curve merry salmon collect vote extra seed congress noodle joy more sure boil chapter spare patch glove ball off affair wood keen