mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
all: fix comment and package name
This commit is contained in:
parent
d12c122507
commit
b023c34fd5
6 changed files with 19 additions and 24 deletions
|
|
@ -994,7 +994,6 @@ func (s *Session) derive(path accounts.DerivationPath) (accounts.Account, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
// keyExport contains information on an exported keypair.
|
// keyExport contains information on an exported keypair.
|
||||||
//
|
|
||||||
//lint:ignore U1000 needs to be added to the console interface
|
//lint:ignore U1000 needs to be added to the console interface
|
||||||
type keyExport struct {
|
type keyExport struct {
|
||||||
PublicKey []byte `asn1:"tag:0"`
|
PublicKey []byte `asn1:"tag:0"`
|
||||||
|
|
@ -1002,7 +1001,6 @@ type keyExport struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// publicKey returns the public key for the current derivation path.
|
// publicKey returns the public key for the current derivation path.
|
||||||
//
|
|
||||||
//lint:ignore U1000 needs to be added to the console interface
|
//lint:ignore U1000 needs to be added to the console interface
|
||||||
func (s *Session) publicKey() ([]byte, error) {
|
func (s *Session) publicKey() ([]byte, error) {
|
||||||
response, err := s.Channel.transmitEncrypted(claSCWallet, insExportKey, exportP1Any, exportP2Pubkey, nil)
|
response, err := s.Channel.transmitEncrypted(claSCWallet, insExportKey, exportP1Any, exportP2Pubkey, nil)
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,6 @@ func init() {
|
||||||
// a reversed signature can be matched against the size of the data.
|
// a reversed signature can be matched against the size of the data.
|
||||||
//
|
//
|
||||||
// Example:
|
// Example:
|
||||||
//
|
|
||||||
// > debug.traceTransaction( "0x214e597e35da083692f5386141e69f47e973b2c56e7a8073b1ea08fd7571e9de", {tracer: "4byteTracer"})
|
// > debug.traceTransaction( "0x214e597e35da083692f5386141e69f47e973b2c56e7a8073b1ea08fd7571e9de", {tracer: "4byteTracer"})
|
||||||
// {
|
// {
|
||||||
// 0x27dc297e-128: 1,
|
// 0x27dc297e-128: 1,
|
||||||
|
|
|
||||||
|
|
@ -27,11 +27,9 @@ Aside from implementing the tracer, it also needs to register itself, using the
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```golang
|
```golang
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
register("noopTracerNative", newNoopTracer)
|
register("noopTracerNative", newNoopTracer)
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
*/
|
*/
|
||||||
package native
|
package native
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"math/big"
|
"math/big"
|
||||||
|
|
||||||
ethereum "github.com/cryptoecc/ETH-ECC"
|
"github.com/cryptoecc/ETH-ECC"
|
||||||
"github.com/cryptoecc/ETH-ECC/common"
|
"github.com/cryptoecc/ETH-ECC/common"
|
||||||
"github.com/cryptoecc/ETH-ECC/common/hexutil"
|
"github.com/cryptoecc/ETH-ECC/common/hexutil"
|
||||||
"github.com/cryptoecc/ETH-ECC/core/types"
|
"github.com/cryptoecc/ETH-ECC/core/types"
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/cryptoecc/ETH-ECC"
|
||||||
"github.com/cryptoecc/ETH-ECC/common"
|
"github.com/cryptoecc/ETH-ECC/common"
|
||||||
"github.com/cryptoecc/ETH-ECC/core/rawdb"
|
"github.com/cryptoecc/ETH-ECC/core/rawdb"
|
||||||
"github.com/cryptoecc/ETH-ECC/core/state/snapshot"
|
"github.com/cryptoecc/ETH-ECC/core/state/snapshot"
|
||||||
|
|
@ -34,7 +35,6 @@ import (
|
||||||
"github.com/cryptoecc/ETH-ECC/ethdb"
|
"github.com/cryptoecc/ETH-ECC/ethdb"
|
||||||
"github.com/cryptoecc/ETH-ECC/event"
|
"github.com/cryptoecc/ETH-ECC/event"
|
||||||
"github.com/cryptoecc/ETH-ECC/trie"
|
"github.com/cryptoecc/ETH-ECC/trie"
|
||||||
"github.com/ethereum/go-ethereum"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Reduce some of the parameters to make the tester faster.
|
// Reduce some of the parameters to make the tester faster.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue