Update core. Output blockchain height and version in 'peer list' output.

This commit is contained in:
Kleissner
2021-12-03 15:35:23 +01:00
parent d397e4818d
commit a7ee9929ac
4 changed files with 6 additions and 5 deletions

View File

@@ -13,6 +13,7 @@ import (
"time"
"github.com/PeernetOfficial/core"
"github.com/PeernetOfficial/core/protocol"
"github.com/PeernetOfficial/core/udt"
"github.com/PeernetOfficial/core/warehouse"
)
@@ -47,7 +48,7 @@ func transferCompareFile(peer *core.PeerInfo, fileHash []byte) {
fmt.Printf("2. Opened UDT connection for file: %s\n", hex.EncodeToString(fileHash))
fileSize, transferSize, err := core.FileTransferReadHeaderUDT(udtConn)
fileSize, transferSize, err := protocol.FileTransferReadHeader(udtConn)
if err != nil {
fmt.Printf("Error reading file transfer header: %s\n", err)
return