Default icon background to transparent.

pull/68/head
Mikunj 6 years ago
parent c8db0e200d
commit 75bbf374f5

@ -49,6 +49,7 @@ const generateImage = pubKey => {
*/
const png = new Identicon(sha224(pubKey), {
margin: 0.2,
background: [0,0,0,0],
}).toString();
fs.writeFileSync(imagePath, png, 'base64');
return imagePath

Loading…
Cancel
Save