File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -107,14 +107,15 @@ async function sponsorSetUpPolicyRules() {
107
107
const wallet = new ethers . Wallet ( hotwalletPrivateKey )
108
108
// sponsor the tx that interact with the stable coin ERC20 contract
109
109
try {
110
- await client . emptyWhitelist ( {
111
- policyUuid : policyID ,
112
- whitelistType : "FromAccountWhitelist" ,
113
- } ) ;
114
- await client . emptyWhitelist ( {
115
- policyUuid : policyID ,
116
- whitelistType : "ToAccountWhitelist" ,
117
- } ) ;
110
+ // You can empty the policy rules before re-try.
111
+ // await client.emptyWhitelist({
112
+ // policyUuid: policyID,
113
+ // whitelistType: "FromAccountWhitelist",
114
+ // });
115
+ //await client.emptyWhitelist({
116
+ // policyUuid: policyID,
117
+ // whitelistType: "ToAccountWhitelist",
118
+ // });
118
119
// sponsor the tx that interact with the stable coin ERC20 contract
119
120
const res1 = await client . addToWhitelist ( {
120
121
policyUuid : policyID ,
You can’t perform that action at this time.
0 commit comments