mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-23 14:50:42 +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 =
|
def fromPeerAddress(peerAddress: String): DLCContactDb =
|
||||||
DLCContactDb(
|
DLCContactDb(
|
||||||
alias = "",
|
alias = peerAddress.take(8),
|
||||||
address =
|
address =
|
||||||
NetworkUtil.parseInetSocketAddress(peerAddress, DLC.DefaultPort),
|
NetworkUtil.parseInetSocketAddress(peerAddress, DLC.DefaultPort),
|
||||||
memo = ""
|
memo = ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue