Skip to content

Commit

Permalink
Added 5000000 cp in script
Browse files Browse the repository at this point in the history
  • Loading branch information
lxgr-linux committed Oct 3, 2022
1 parent 68539bc commit 8103a49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/migrate_with_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
break
for i in old_dict["app_state"]["bank"]["balances"]:
if i["address"] == addr :
for idx, coin in enumerate(i["coins"]):
if coin["denom"] == "ubpf":
i["coins"][idx]["amount"] = "5000000"
new_dict["app_state"]["bank"]["balances"].append(i)
break

Expand Down

0 comments on commit 8103a49

Please sign in to comment.