rm unused function

This commit is contained in:
aodhgan 2025-10-01 22:48:31 -07:00
parent e3fa487898
commit 1e697d990c

View file

@ -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).
//