mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-23 06:45:21 +01:00
Change default DLC peer alias (#4663)
This commit is contained in:
parent
02f525fd39
commit
a5186cd1da
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ object DLCContactDbHelper {
|
|||
|
||||
def fromPeerAddress(peerAddress: String): DLCContactDb =
|
||||
DLCContactDb(
|
||||
alias = "",
|
||||
alias = peerAddress.take(8),
|
||||
address =
|
||||
NetworkUtil.parseInetSocketAddress(peerAddress, DLC.DefaultPort),
|
||||
memo = ""
|
||||
|
|
Loading…
Add table
Reference in a new issue