message: feat(account-lib): sTX getSTXAddressFromPubKeys takes an optional AddressHashMode param
diff: @@ -271,11 +271,13 @@ export function padMemo(memo: string): string {
  *
  * @param {string[]} pubKeys - list of public keys as strings
  * @param {AddressVersion} addressVersion - MainnetMultiSig, TestnetMultiSig
  + * @param {AddressHashMode} addressHashMode - SerializeP2SH
  * @returns {address: string, hash160: string} - a multisig address
  */
  export function getSTXAddressFromPubKeys(
  pubKeys: string[],
  addressVersion: AddressVersion = AddressVersion.MainnetMultiSig,
  + addressHashMode: AddressHashMode = AddressHashMode.SerializeP2SH,
  ): { address: string; hash160: string } {
  if (pubKeys.length === 0) {
  throw new Error('Invalid number of public keys');
  @@ -285,7 +287,7 @@ export function getSTXAddressFromPubKeys(
  }
  const stxPubKeys = pubKeys.map(createStacksPublicKey);
  - const address = addressFromPublicKeys(addressVersion, AddressHashMode.SerializeP2SH, stxPubKeys.length, stxPubKeys);
  + const address = addressFromPublicKeys(addressVersion, addressHashMode, stxPubKeys.length, stxPubKeys);
  return { address: addressToString(address), hash160: address.hash160 };
  }
  