Skip to content

Commit

Permalink
accounts/usbwallet: remove unused variables in ledger.go (ethereum#16446
Browse files Browse the repository at this point in the history
)
  • Loading branch information
gzliudan committed Jan 1, 2025
1 parent cc9f744 commit 6b56c63
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions accounts/usbwallet/ledger.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,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
Expand Down

0 comments on commit 6b56c63

Please sign in to comment.