Skip to content

Commit b17af06

Browse files
authored
Merge pull request #26 from osiastedian/ci-master-build
chore: add logging to create address
2 parents ed68350 + 6d40bb4 commit b17af06

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

controllers/address.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ const createVotingAddress = async (req, res, next) => {
381381
)
382382
const isExist = resp.find((e) => e.address === newAddress.address)
383383
const verifyName = resp.find((e) => e.name === newAddress.name)
384+
console.debug({ newAddress, isExist, existInMn, verifyName })
384385
if (typeof verifyName !== 'undefined') {
385386
newAddress.name =
386387
`${name.replace(re, '')}-${crypto.randomBytes(12).toString('hex')}`.trim()

0 commit comments

Comments
 (0)