diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-09-26 10:48:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:49:51 +0800 |
commit | 11610f8f10e8ebfcb5971f449482f6c2c67792e9 (patch) | |
tree | 77f050152da2fd78a3ff9de53786addf320ee691 /signer/core/api.go | |
parent | bad5e3aa2c7f248c30769599ea986a363f69b5d2 (diff) | |
download | dexon-11610f8f10e8ebfcb5971f449482f6c2c67792e9.tar dexon-11610f8f10e8ebfcb5971f449482f6c2c67792e9.tar.gz dexon-11610f8f10e8ebfcb5971f449482f6c2c67792e9.tar.bz2 dexon-11610f8f10e8ebfcb5971f449482f6c2c67792e9.tar.lz dexon-11610f8f10e8ebfcb5971f449482f6c2c67792e9.tar.xz dexon-11610f8f10e8ebfcb5971f449482f6c2c67792e9.tar.zst dexon-11610f8f10e8ebfcb5971f449482f6c2c67792e9.zip |
Change import go github.com/dexon-foundation/dexon
Diffstat (limited to 'signer/core/api.go')
-rw-r--r-- | signer/core/api.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/signer/core/api.go b/signer/core/api.go index e9a335785..d76b89a8d 100644 --- a/signer/core/api.go +++ b/signer/core/api.go @@ -25,15 +25,15 @@ import ( "math/big" "reflect" - "github.com/ethereum/go-ethereum/accounts" - "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/ethereum/go-ethereum/accounts/usbwallet" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/internal/ethapi" - "github.com/ethereum/go-ethereum/log" - "github.com/ethereum/go-ethereum/rlp" + "github.com/dexon-foundation/dexon/accounts" + "github.com/dexon-foundation/dexon/accounts/keystore" + "github.com/dexon-foundation/dexon/accounts/usbwallet" + "github.com/dexon-foundation/dexon/common" + "github.com/dexon-foundation/dexon/common/hexutil" + "github.com/dexon-foundation/dexon/crypto" + "github.com/dexon-foundation/dexon/internal/ethapi" + "github.com/dexon-foundation/dexon/log" + "github.com/dexon-foundation/dexon/rlp" ) // numberOfAccountsToDerive For hardware wallets, the number of accounts to derive @@ -518,7 +518,7 @@ func (api *SignerAPI) SignTransaction(ctx context.Context, args SendTxArgs, meth // // The key used to calculate the signature is decrypted with the given password. // -// https://github.com/ethereum/go-ethereum/wiki/Management-APIs#personal_sign +// https://github.com/dexon-foundation/dexon/wiki/Management-APIs#personal_sign func (api *SignerAPI) Sign(ctx context.Context, addr common.MixedcaseAddress, data hexutil.Bytes) (hexutil.Bytes, error) { sighash, msg := SignHash(data) // We make the request prior to looking up if we actually have the account, to prevent |