Skip to content

Commit ba36e14

Browse files
committed
remove duplication (not necessary tho)
1 parent 198f66c commit ba36e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/helper/bitcoin-book/fetchers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = {
4646
const users = await api.call({ abi: 'address[]:getQualifiedUsers', target: '0xbee335BB44e75C4794a0b9B54E8027b111395943' })
4747
const userInfos = await api.multiCall({ abi: abi.getQualifiedUserInfo, target: '0xbee335BB44e75C4794a0b9B54E8027b111395943', calls: users })
4848
userInfos.forEach(i => staticAddresses.push(i.depositAddress))
49-
return staticAddresses
49+
return Array.from(new Set(staticAddresses))
5050
},
5151

5252
b14g: async () => {

0 commit comments

Comments
 (0)