From c5ac8942b51ca0fbdbe0af5430f6d169775bf8a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Mart=C3=ADnez?= Date: Thu, 9 Jan 2020 17:44:54 +0100 Subject: [PATCH] Fix signatures order in tx data --- src/routes/safe/store/actions/processTransaction.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/safe/store/actions/processTransaction.js b/src/routes/safe/store/actions/processTransaction.js index 250e64c9..dd36e408 100644 --- a/src/routes/safe/store/actions/processTransaction.js +++ b/src/routes/safe/store/actions/processTransaction.js @@ -28,12 +28,12 @@ export const generateSignaturesFromTxConfirmations = ( // The constant parts need to be sorted so that the recovered signers are sorted ascending // (natural order) by address (not checksummed). const confirmationsMap = confirmations.reduce((map, obj) => { - map[obj.owner.address] = obj // eslint-disable-line no-param-reassign + map[obj.owner.address.toLowerCase()] = obj // eslint-disable-line no-param-reassign return map }, {}) if (preApprovingOwner) { - confirmationsMap[preApprovingOwner] = { owner: preApprovingOwner } + confirmationsMap[preApprovingOwner.toLowerCase()] = { owner: preApprovingOwner } } let sigs = '0x'