message: invoice - fix mainnet mark
diff: @@ -35,7 +35,7 @@ const addInvoice = (data) => {
  label : (data.label) ? data.label : '',
  address : btcData.address,
  pubkey : btcData.publicKey.toString('hex'),
  - mainnet : (btc.network==bitcoin.networks.mainnet),
  + mainnet : (btc.network==bitcoin.networks.mainnet) ? '1' : '0',
  destination : (data.destination) ? data.destination : '',
  }
  @@ -79,7 +79,7 @@ const getInvoices = (data) => {
  body: {
  currency: data.currency,
  address: data.address,
  - mainnet: (btc.network==bitcoin.networks.mainnet),
  + mainnet: (btc.network==bitcoin.networks.mainnet) ? '1' : '0',
  }
  }).then((res) => {
  if (res && res.answer && res.answer === 'ok') {
  