aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/usbwallet
diff options
context:
space:
mode:
authorthomasmodeneis <thomas.modeneis@gmail.com>2018-04-18 06:53:50 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-04-18 06:53:50 +0800
commitba1030b6b84f810c04a82221a1b1c0a3dbf499a8 (patch)
tree9c3450535acddfec3b1987e0a2e04fa9ca303e38 /accounts/usbwallet
parent7605e63cb9dda7fc5bb619abf1eb1f74ac3f6cc1 (diff)
downloaddexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar
dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.gz
dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.bz2
dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.lz
dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.xz
dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.zst
dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.zip
build: enable goimports and varcheck linters (#16446)
Diffstat (limited to 'accounts/usbwallet')
-rw-r--r--accounts/usbwallet/ledger.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/accounts/usbwallet/ledger.go b/accounts/usbwallet/ledger.go
index f5def61d2..7ad32dd1e 100644
--- a/accounts/usbwallet/ledger.go
+++ b/accounts/usbwallet/ledger.go
@@ -53,11 +53,9 @@ const (
ledgerOpGetConfiguration ledgerOpcode = 0x06 // Returns specific wallet application configuration
ledgerP1DirectlyFetchAddress ledgerParam1 = 0x00 // Return address directly from the wallet
- ledgerP1ConfirmFetchAddress ledgerParam1 = 0x01 // Require a user confirmation before returning the address
ledgerP1InitTransactionData ledgerParam1 = 0x00 // First transaction data block for signing
ledgerP1ContTransactionData ledgerParam1 = 0x80 // Subsequent transaction data block for signing
ledgerP2DiscardAddressChainCode ledgerParam2 = 0x00 // Do not return the chain code along with the address
- ledgerP2ReturnAddressChainCode ledgerParam2 = 0x01 // Require a user confirmation before returning the address
)
// errLedgerReplyInvalidHeader is the error message returned by a Ledger data exchange