message: tests: add "transaction.verifyOrigin();" to test the auth verification code
diff: @@ -89,6 +89,8 @@ test('STX token transfer transaction serialization and deserialization', () => {
  // '01051521ac2ac6e6123dcaf9dba000e0005d9855bcc1bc6b96aaf8b6a385238a2317' +
  // 'ab21e489aca47af3288cdaebd358b0458a9159cadc314cecb7dd08043c0a6d';
  + transaction.verifyOrigin();
  +
  const serialized = transaction.serialize();
  const deserialized = deserializeTransaction(new BufferReader(serialized));
  @@ -165,6 +167,8 @@ test('STX token transfer transaction fee setting', () => {
  // '01051521ac2ac6e6123dcaf9dba000e0005d9855bcc1bc6b96aaf8b6a385238a2317' +
  // 'ab21e489aca47af3288cdaebd358b0458a9159cadc314cecb7dd08043c0a6d';
  + transaction.verifyOrigin();
  +
  const serialized = transaction.serialize();
  const deserialized = deserializeTransaction(new BufferReader(serialized));
  expect(deserialized.auth.spendingCondition!.fee!.toString()).toBe(fee.toString());
  @@ -246,6 +250,8 @@ test('STX token transfer transaction multi-sig serialization and deserialization
  signer.signOrigin(privKeys[1]);
  signer.appendOrigin(pubKeys[2]);
  + transaction.verifyOrigin();
  +
  const serialized = transaction.serialize();
  const deserialized = deserializeTransaction(new BufferReader(serialized));
  expect(deserialized.version).toBe(transactionVersion);
  @@ -314,6 +320,8 @@ test('STX token transfer transaction multi-sig uncompressed keys serialization a
  signer.signOrigin(privKeys[1]);
  signer.appendOrigin(pubKeys[2]);
  + transaction.verifyOrigin();
  +
  const serialized = transaction.serialize();
  // serialized tx that has been successfully deserialized and had
  @@ -388,6 +396,8 @@ test('Sponsored STX token transfer transaction serialization and deserialization
  signer.signOrigin(createStacksPrivateKey(secretKey));
  signer.signSponsor(createStacksPrivateKey(sponsorSecretKey));
  + transaction.verifyOrigin();
  +
  const serialized = transaction.serialize();
  const deserialized = deserializeTransaction(new BufferReader(serialized));
  expect(deserialized.version).toBe(transactionVersion);
  