mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-09-01 17:55:15 +00:00
Remove some unused vars.
This commit is contained in:
parent
08c23d858d
commit
eb567f2590
1 changed files with 2 additions and 9 deletions
|
@ -59,20 +59,13 @@ var (
|
||||||
ErrChecksumMismatch = errors.New("checksum mismatch")
|
ErrChecksumMismatch = errors.New("checksum mismatch")
|
||||||
ErrDuplicate = errors.New("duplicate key or address")
|
ErrDuplicate = errors.New("duplicate key or address")
|
||||||
ErrMalformedEntry = errors.New("malformed entry")
|
ErrMalformedEntry = errors.New("malformed entry")
|
||||||
ErrNetworkMismatch = errors.New("network mismatch")
|
|
||||||
ErrWalletDoesNotExist = errors.New("non-existant wallet")
|
|
||||||
ErrWalletIsWatchingOnly = errors.New("wallet is watching-only")
|
ErrWalletIsWatchingOnly = errors.New("wallet is watching-only")
|
||||||
ErrWalletLocked = errors.New("wallet is locked")
|
ErrWalletLocked = errors.New("wallet is locked")
|
||||||
ErrWrongPassphrase = errors.New("wrong passphrase")
|
ErrWrongPassphrase = errors.New("wrong passphrase")
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
// '\xbaWALLET\x00'
|
||||||
// '\xbaWALLET\x00'
|
var fileID = [8]byte{0xba, 0x57, 0x41, 0x4c, 0x4c, 0x45, 0x54, 0x00}
|
||||||
fileID = [8]byte{0xba, 0x57, 0x41, 0x4c, 0x4c, 0x45, 0x54, 0x00}
|
|
||||||
|
|
||||||
mainnetMagicBytes = [4]byte{0xf9, 0xbe, 0xb4, 0xd9}
|
|
||||||
testnetMagicBytes = [4]byte{0x0b, 0x11, 0x09, 0x07}
|
|
||||||
)
|
|
||||||
|
|
||||||
type entryHeader byte
|
type entryHeader byte
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue