From dccdf47455161e6b3f04842a036d29372467eba1 Mon Sep 17 00:00:00 2001 From: Juan Pablo Abuin Date: Thu, 17 Jun 2021 16:42:17 -0300 Subject: [PATCH] coin & network added in push notifcations --- .../src/lib/pushnotificationsservice.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/bitcore-wallet-service/src/lib/pushnotificationsservice.ts b/packages/bitcore-wallet-service/src/lib/pushnotificationsservice.ts index 6344604e96c..35aec2ddd37 100644 --- a/packages/bitcore-wallet-service/src/lib/pushnotificationsservice.ts +++ b/packages/bitcore-wallet-service/src/lib/pushnotificationsservice.ts @@ -204,7 +204,10 @@ export class PushNotificationsService { tokenAddress, multisigContractAddress, copayerId: sjcl.codec.hex.fromBits(sjcl.hash.sha256.hash(sub.copayerId)), - notification_type: notification.type + notification_type: notification.type, + // coin and network are needed for NewBlock notifications + coin: notification?.data?.coin, + network: notification?.data?.network } };