Referral Program #188
Labels
bug
Something isn't working
help wanted
Extra attention is needed
question
Further information is requested
Bug Description
Referral program may not being working as intended. Filing as bug, until the time where it is verified the referral program is working as designed.
Within the following file,
/peerplays/libraries/chain/affiliate_payout.cpp
there is no indication as to whether or not the users affiliate account is receiving the intended 20% of the rake.The following file
peerplays/libraries/chain/db_bet.cpp
dictates which account will receive the 20% affiliate payout. It appears that the account that WON, is receiving the 20% payout, which means the funds are staying in the account that won.Impacts
The peerplays referral program is impacted by this bug. If the funds never move from the winners hands, to the affiliates hands, then there is no incentive for anyone to be an affiliate partner for the peerplays blockchain.
Steps To Reproduce
Expected Behavior
Upon resolution of the markets, check to see that account-one has received 20% of 1% of account-two's winnings
Impacts
PBSA / Developer tasks
The text was updated successfully, but these errors were encountered: