mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
rm unused function
This commit is contained in:
parent
e3fa487898
commit
1e697d990c
1 changed files with 0 additions and 8 deletions
|
|
@ -1724,14 +1724,6 @@ func (api *TransactionAPI) SendRawTransactionSync(ctx context.Context, input hex
|
|||
}
|
||||
}
|
||||
|
||||
func (api *TransactionAPI) tryGetReceipt(ctx context.Context, hash common.Hash) (map[string]interface{}, error) {
|
||||
receipt, err := api.GetTransactionReceipt(ctx, hash)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return receipt, nil
|
||||
}
|
||||
|
||||
// Sign calculates an ECDSA signature for:
|
||||
// keccak256("\x19Ethereum Signed Message:\n" + len(message) + message).
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in a new issue