mirror of
https://github.com/go-i2p/go-i2cp.git
synced 2025-06-07 17:04:59 -04:00
Finished sessions, only datagrams left
This commit is contained in:
@ -1,9 +1,7 @@
|
||||
package go_i2cp
|
||||
|
||||
import (
|
||||
"crypto"
|
||||
"errors"
|
||||
"github.com/cryptix/go/crypt"
|
||||
"math/big"
|
||||
"os"
|
||||
"strings"
|
||||
@ -86,7 +84,7 @@ func NewDestinationFromBase64(base64 string) (dest Destination, err error) {
|
||||
return NewDestinationFromMessage(&decoded)
|
||||
}
|
||||
|
||||
func NewDestinationFromFile(file os.File) (dest Destination, err error) {
|
||||
func NewDestinationFromFile(file *os.File) (dest Destination, err error) {
|
||||
var stream Stream
|
||||
stream.loadFile(file)
|
||||
return NewDestinationFromStream(&stream)
|
||||
|
Reference in New Issue
Block a user