mirror of
https://github.com/AthanorLabs/atomic-swap.git
synced 2026-01-09 14:18:03 -05:00
16 lines
406 B
Go
16 lines
406 B
Go
// Copyright 2023 The AthanorLabs/atomic-swap Authors
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
|
|
|
package net
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
errBootnodeCannotRelay = errors.New("bootnode cannot be a relayer")
|
|
errNilHandler = errors.New("handler is nil")
|
|
errNoOngoingSwap = errors.New("no swap currently happening")
|
|
errSwapAlreadyInProgress = errors.New("already have ongoing swap")
|
|
)
|