message: feat(wp): added support of cashaddr for create address
diff: @@ -264,6 +264,7 @@ export interface CreateAddressOptions {
  label?: string;
  lowPriority?: boolean;
  forwarderVersion?: number;
  + format?: 'base58' | 'cashaddr';
  }
  export interface UpdateAddressOptions {
  @@ -1250,6 +1251,7 @@ export class Wallet {
  label,
  lowPriority,
  forwarderVersion,
  + format,
  count = 1,
  } = params;
  @@ -1292,6 +1294,13 @@ export class Wallet {
  addressParams.lowPriority = lowPriority;
  }
  + if (!_.isUndefined(format)) {
  + if (!_.isString(format)) {
  + throw new Error('format has to be a string');
  + }
  + addressParams.format = format;
  + }
  +
  // get keychains for address verification
  const keychains = yield Bluebird.map(self._wallet.keys as string[],
  k => self.baseCoin.keychains().get({ id: k, reqId })
  