Kotlin implementation of Trustchain and IPv8 with rich networking: multihoming of local Bluetooth+4G, decentral social networking, UDP hole punching, etc.
GNU General Public License v3.0
80
stars
63
forks
source link
Use correct transaction input + fix little-endian conversion #117
This PR makes bugfixes to the Luxury Communism module.
Previously only the user's wallet was actually used as an input to the transaction belonging to the join action of a new member. Consequently, this required the user to have a balance of the entire DAOs worth + the entrance fee. Now the previous shared wallet is correctly used as an input.
The little-endian conversion falsely assumed that the number always consisted of four bytes, leading to crashes in the instance that the number consisted of fewer bytes.
This PR makes bugfixes to the Luxury Communism module.