emerald-dao/float

Sanitize input for awarding to multiple addresses

Closed this issue · 0 comments

Tried to award manually to a bunch of people today, the csv file had addresses with 0x in them and these where stripped for some reason.

Tx that worked (from overflow) https://flowscan.org/transaction/b1387950ffe9bc7c8e28fd2cb55d0e9d83a5c15948cf00a00fd0c76a653d8cef/script

tx that failed
https://flowscan.org/transaction/8de9873a55c21ac3dbd1b43aba8b477699477cba45e7394a9f7029d8aca7f646

the addresses sent in in both cases where from the following file
0x0ccc515c9eb2db31,0x46d6fb10be71d261,0x4260ef47d4b44336,0x53eb546c815a91cc,0x02d84224d1aa318e,0x142935d2b08885bb,0xcee95bd7c5bd993a,0x22613f6a9fe740e8,0xcee95bd7c5bd993a,0x62c4557bf0e6f559,0xea6b3b9e8df9164e,0x47b1de37e8d86e29,0x91b508315be4545c,0x18d7e8fd44629257,0x51664caf2b7550ef,0x42f8becfea8d6c3b,0x57ba2117c1c7132b,0xaf8503b01cb78b2f,0xb40f0bef13757ef8,0xe54b9b714b15760c,0x5dea7a65de215c37,0x830c83654c015c76,0xa67143ef9c32b407,0x5fba88b1c1f692c4,0x33c221718d0b93ca,0xb8023f7992b2858d,0xeb2fa201fa3a8fad,0x1547db33067fdfd8,0x06a4104a9fd67dd6,0x58ce9dd1302b7941,0x4155bbb6d3a18803,0xd38e4d0b4ea7ae3d,0xc85a332060b51589,0x93d12322aa2f960b,0xeb219b354507ea7d,0xe6d95eb8a1356d19,0x25c28d063e66365e,0x4ecf6aaa3a6bfe3a