Skip to content

Commit

Permalink
fix affiliateAddress for heroswap iframe in identity (#287)
Browse files Browse the repository at this point in the history
Co-authored-by: Lazy Nina <>
  • Loading branch information
lazynina authored Oct 17, 2023
1 parent 548d397 commit de90632
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/get-deso/get-deso.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ export class GetDesoComponent implements OnInit {
'&destinationTickers=DESO',
'&destinationTicker=DESO',
`&destinationAddress=${this.publicKeyAdded || ''}`, // TODO: confirm publicKeyAdded is correct.
`&affiliateAddress=BC1YLgHhMFnUrzQRpZCpK7TDxVGoGnAk539JqpYWgJ8uW9R7zCCdGHK`,
`&affiliateAddress=${
this.globalVars.network === Network.mainnet
? 'BC1YLgHhMFnUrzQRpZCpK7TDxVGoGnAk539JqpYWgJ8uW9R7zCCdGHK'
: 'tBCKX1RURo8HRUcYVNrpYj1JZcY1yvWuhSi6NDfKXRudwQpDkAd8YC'
}`,
`&now=${Date.now()}`,
].join('')
);
Expand Down

0 comments on commit de90632

Please sign in to comment.