pull down to refresh
8 sats \ 0 replies \ @Majjin OP 20 May 2022 \ parent \ on: Make Anonymous Tweets By Staking Sats bitcoin
So for the curious, the site checks to see if each tweet you've made is over 2 days old. If it is, it moves that tweets sats from the pending balance over to available. The bug was that I wasn't marking the tweets I've already accounted for. So it would move the sats from pending over to available over and over again each time you refreshed. So I added a "sats pending" field to the tweet object. The loop checks if "sats pending" is true. If it is, then it moves the balance over then marks it false. This stops the balance from being moved over again and again, draining my node of sats.