Skip to content

Commit

Permalink
Print privacy warning when showing timelocked addr
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-belcher committed Jul 6, 2021
1 parent 92940df commit 9a4ef90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jmclient/jmclient/wallet_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,10 @@ def wallet_gettimelockaddress(wallet, locktime_string):
jmprint("Coins sent to this address will be not be spendable until "
+ lock_datetime.strftime("%B %Y") + ". Full date: "
+ str(lock_datetime))
jmprint("WARNING: Only send coins here which are from coinjoins or otherwise"
+ " not linked to your identity. Also, use a sweep transaction when funding the"
+ " timelocked address, i.e. Don't create a change address. See the privacy warnings in"
+ " fidelity-bonds.md")
addr = wallet.get_address_from_path(path)
return addr

Expand Down

0 comments on commit 9a4ef90

Please sign in to comment.